body {
  font-size: 16px;
  font-family: "source_sans_proregular";
  line-height: 1.4;
  margin: 0;
}
.wrapper {

}
h1, h2, h3 {
  color:  #e30613;
  font-family:'source_sans_prosemibold';
  font-weight:400;
}
strong, b {
    font-family:'source_sans_prosemibold';
    font-weight:400;
}
h1 {
  font-size: 30px;
}
h2, h3 {
  font-size: 18px;
}
p {
  font-size: 16px;
  color: #000;
}
a {
  color:  #e30613;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
th {
  background-color:  #c5c5c5;
  height: 42px;
  font-size: 16px;
  font-family:'source_sans_prosemibold';
  color:  #373737;
}
table {
  border-collapse: collapse;
  border-color:  #646464;
}
td, th {
  border-right: 1px solid #767676;
  border-bottom: 1px solid #767676;
  padding: 10px;
}
td {
  font-size: 15px;
  color: #373737;
}
ul, ol {
  color:  #e30613;
  font-size: 16px;
  font-weight: 400;
}
.content input {
  font-family: 'source_sans_prolight';
  border-radius: 4px;
  border-width: 1px;
  border-color: #c2c2c2;
  border-style: solid;
  color:  #646464;
  width: 290px;
  padding: 0 10px;
  height: 32px;
  font-size: 15px;
  margin: 10px;
}

.content input:-webkit-input-placeholder{
  color: black;
}
.content input:-moz-placeholder{
  color: #646464;
}

input:focus {
  border-color:  #273376;
  color:  #273376;
}
.content input[type="submit"] {
  width: auto;
  border-radius: 0;
  color:  #ffffff;
  font-size: 20px;
  font-family:'source_sans_prolight';
  background-color:  #b2000a;
}
.content input[type="submit"]:hover {
  background-color:  #e30613;
}
.wrapper {
  width: 360px;
  margin: auto;
  border-left: 1px solid #9e9e9e;
  border-right: 1px solid #9e9e9e;
}
.wrapper .content {
  padding: 15px;
}
header .wrapper {
  border-top: 1px solid #9e9e9e;
}
footer .wrapper {
  border-bottom: 1px solid #9e9e9e;
  padding-top: 50px;
}
.cf:after {
  content: "."; display: block;height: 0;clear: both;font-size: 1px;line-height: 1px;visibility: hidden;
}
.cover-image .header-bg, .newslist .title, .left-sidebar, .right-sidebar, .sidebar, .crumbs {
  display: none;
}
#logo {
  background: url("/images/Logo.png") center center no-repeat;
  display: block;
  width: 360px;
  height: 155px;
}
.header-top {
  padding-top: 16px;
  padding-right: 15px;
  padding-bottom: 0;
  padding-left: 15px;
}
.mainmenu, .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1000;
}
.mainmenu li {
  width: 100%;
  line-height: 46px;
  text-align: center;
  background-color: #273376;
  font-family: "NotoSans";
  margin-bottom: 1px;
  text-transform: uppercase;
  position: relative;
  color: #fff;
}
.mainmenu .menu-button span {
  cursor: pointer;
  background: url("/images/menu-icon.png") center left  no-repeat;
  padding-left: 38px;
}
.mainmenu .item {
  display: none;
}
.mainmenu .selected, .mainmenu .submenu li {
  background-color: #d52820;
}
.mainmenu .item a {
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  text-decoration: none;
  width: 172px;
  margin: auto;
}
.submenu {
  display: none;
}
.selected .submenu {
  display: block;
}
.mainmenu .submenu li a {
  font-family: "source_sans_prolight";
  font-size: 17px;
  border-bottom: 1px dashed #fff;
}
.mainmenu .submenu li:last-child a {
  border-bottom: none;
}
.close-btn {
  display: none;
  position: absolute;
  background: url("/images/close-btn.png") center center no-repeat;
  width: 45px;
  height: 45px;
  top: 0;
  right: 1px;
  cursor: pointer;
}
.selected .close-btn {
  display: block;
}
.langmenu {
  width: 54px;
  height: 29px;
  float: right;
  border: 1px solid rgb(229, 229, 229);
}
.langs {
  width: 34px;
  position: absolute;
}
.langs a{
  width: 34px;
  height: 29px;
  display: block;
}
.langs img {
  padding: 9px;
  background: rgb(229, 229, 229);
}
.langmenu .langs>div, .langmenu span {
  display: none;
}
.langmenu .langs .active {
  display: block;
}
.langmenu .open-btn {
  background: url("/images/down-arrow.png") center center no-repeat;
  height: 31px;
  width: 20px;
  float: right;
}
.search-box {
  display: inline-block;
  border: 1.5px solid #b2b2b2;
  border-radius: 2px;
  padding:0;
}
.search-box.open {
  border-bottom: 1px solid rgb(229, 229, 229);
}
.search-box input[type="submit"] {
  position: relative;
  right:5px;
  width: 15px;
  height: 15px;
  padding: 0;
  border: none;
  background: url("/images/find-btn.png") center center/100% no-repeat;
  vertical-align: middle;
}
.search-box input[type="text"] {
  border: none;
  font-family: "NotoSans";
  font-size: 13px;
  color: #9e9e9e;
  line-height: 18px;
  padding-top: 0;
  padding-bottom: 0;
}

.search-box input[type="text"]:focus {
  border: none;
  outline:none;
}

.newslist {
  padding: 15px;
}
.newslist .item {
  border-bottom: 1px dashed #959595;
}
.newslist .item a {
  text-decoration: none;
  color: #e30613;
}
.newslist .item h2 {
  font-size: 21px;
  font-family:'source_sans_prosemibold';
  margin: 10px 0;
}
.newslist .item p {
  font-weight: 400;
  font-size: 16px;
}
.newslist .item .read-more {
  display: block;
  margin-bottom: 10px;
}
.read-all-news {
  display: block;
  text-align: center;
  padding-top: 32px;
  color: #5f5f5f;
}
.footer-links {
  padding: 0 2px;
  padding-bottom: 50px;
  text-align: center;
}

.footer-links a, .footer-links .edit-logo {
  display: inline-block;
  background-color:  #e5e5e5;
  width: 85px;
  height: 84px;
  margin: 0 2px;
  text-decoration: none;
  color: #e30613;
}
.footer-links a {
  margin-top: 7px;
}

.footer-links a:hover {
  background-color: #273376;
  color: #fff;
}
.footer-links .logo {
  height: 58px;
  width: 85px;
}
.footer-links .events {
  background: url("/images/calendar.png") center center no-repeat;
}
.footer-links .timetable {
  background: url("/images/timetable.png") center center no-repeat;
}
.footer-links .intranet {
  background: url("/images/intranet.png") center center no-repeat;
}
.footer-links .gmail {
  background: url("/images/gmail-dark.png") center center no-repeat;
}
.footer-links .mobi {
}
.footer-links a:hover .events {
  background-image: url("/images/events-mob-ico-hover.png");
}
.footer-links a:hover .timetable {
  background-image: url("/images/calendar-mob-ico-hover.png");
}
.footer-links a:hover .intranet {
  background-image: url("/images/network-mob-ico-hover.png");
}
.footer-links a:hover .gmail {
  background-image: url("/images/gmail-light.png");
}
footer {
  text-align: center;
  background: url("/images/footer-logo.png") bottom center no-repeat;
}
.footer-name {
  padding-bottom: 18px;
}
.footer-name .name {
  color:  #494949;
  font-size: 18px;
}
.footer-name .address, .footer-contact {
  color:  #494949;
  font-size: 14px;
}
.footer-contact a {
  color: #e30613;
  text-decoration: none;
}
.footer-copyright {
  color:  #7f7f7f;
  font-size: 14px;
  padding-top: 50px;
  padding-bottom: 35px;
}
.form_notice {
  line-height: 33px;
  padding: 24px 0 24px 100px;
  background: #d6e8bd url("/images/form-thanks-logo.png") center left 30px no-repeat;
  color:  #4e672d;
  font-size: 20px;
  font-family:'source_sans_prolight';
}
.member .small {
  cursor: pointer;
}
.content .member {
  width: 148px;
  height: 315px;
  float: left;
  border-bottom: 1px dashed #9e9e9e;
  text-align: center;
  padding-right: 24px;
  position: relative;
}
.content .tugi {
  width: 148px;
  float: left;
  border-bottom: 1px dashed #9e9e9e;
  text-align: center;
  padding-right: 24px;
  position: relative;
}
.overflow-hidden-thing {
  overflow: hidden;
}
.content .member img {
  margin-top: 9px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border-radius: 20px;
  /*enne oli 148*/
  width: 150px;
  height: 225px;
}
.content .member h3 {
  font-size: 20px;
  margin: 0;
  white-space: nowrap;
}
.content .member .position {
  color:  #7d7b7b;
  font-size: 13px;
  font-weight: 400;
}
.member .clicked-div {
  display: none;
  position: absolute;
  width: 329px;
  height: 315px;
  top: 0;
  background: #fff;
  z-index: 100;
  font-size: 13px;
  border-radius: 5px;
  background-color:  #ffffff;
  padding: 0 5px;
  box-shadow: 1px 1px 3px 0.00px rgba(0, 0, 0, 0.57);
}

.member-secondary .primary-detail {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}
.left-0 {
  left: 0;
}
.left-more {
  left: -176px;
}
.clicked-div .left {
  float: left;
  width: 148px;
}
.clicked-div .right {
  margin-top: 40px;
  float: right;
  width: 171px;
  text-align: left;
}
.clicked-div .close-btn {
  display: block;
  background-image: url("/images/dark-close.png");
}
.clicked-div .phone, .clicked-div .e-mail {
  padding-left: 30px;
}
.clicked-div .phone {
  background: url("/images/phone-icon.png") center left no-repeat;
  color:  #777777;
  font-weight: 400;
}
.clicked-div .e-mail {
  display: block;
  background: url("/images/person-mail-icon.png") center left 2px no-repeat;
  margin-top: 10px;
  margin-bottom: 20px;
}
.clicked-div .birthday {
  margin-bottom: 5px;
}
.birthday .dark {
  margin-right: 5px;
}
.right .dark {
  color: #1b1b1b;
}
.right .light {
  color: #595959;
}
@media screen and (max-width: 940px) {
  .content .member:nth-child(even) {
    margin-left: 3px;
    padding-right: 0;
    padding-left: 5px;
  }
}
@media screen and (min-width: 939px) {
  body {
    margin: auto;
  }
  .left-more {
    left: -178px;
  }
  h1, h2 {
    color:  #e30613;
    font-family: 'source_sans_prosemibold';
  }
  h2 {
    font-size: 25px;
  }
  h3 {
    color:  #e30613;
    font-size: 21px;
    font-weight: 400;
  }
  p {
    font-size: 15px;
    font-weight: 400;
    color: #000;
  }
  a {
    color:  #e30613;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
  }
  th {
    background-color:  #c5c5c5;
    height: 42px;
    font-size: 16px;
    font-family:'source_sans_prosemibold';
    color:  #373737;
  }
  table {
    border-collapse: collapse;
    border-color:  #646464;
  }
  td, th {
    border-right: 1px solid #767676;
    border-bottom: 1px solid #767676;
    padding: 10px;
  }
  td {
    font-size: 15px;
    color: #373737;
  }
  ul, ol {
    color:  #010101;
    font-size: 15px;
    font-weight: 400;
  }
  .content input {
    border-radius: 4px;
    border-width: 1px;
    border-color: #c2c2c2;
    border-style: solid;
    color:  #312F2F;
    width: 290px;
    padding: 0 10px;
    height: 32px;
    font-size: 15px;
   font-family: 'source_sans_prolight';
    margin: 10px;
  }

  .content ::-webkit-input-placeholder {
   color: #312F2F;
  }

  .content :-moz-placeholder { /* Firefox 18- */
   color: #312F2F;
  }

  .content ::-moz-placeholder {  /* Firefox 19+ */
   color: #312F2F;
  }

  .content :-ms-input-placeholder {
   color: #312F2F;
  }

  input:focus {
    border-color:  #273376;
  }

  .content input[type="submit"] {
    width: auto;
    border-radius: 0;
    color:  #ffffff;
    font-size: 20px;
    font-family: 'source_sans_prolight';
    background-color:  #b2000a;
  }
  .content input[type="submit"]:hover {
    background-color:  #e30613;
  }

  /*@media screen and (min-width:939px)*/
  .content textarea {
    border-radius: 4px;
    border-width: 1px;
    border-color: #c2c2c2;
    border-style: solid;
    color: #9e9e9e;
    width: 290px;
    padding: 0 10px;
    height: 100px;
    font-size: 15px;
    font-family: 'source_sans_prolight';
    margin: 10px;
  }


  .wrapper {
    width: 940px;
  }
  .header-bg, .common-bg {
    display: block;
  }
  header .wrapper, footer .wrapper, .wrapper {
    border: none;
  }
  #logo {
    float: left;
    height: 141px;
  }
  .header-top {
    width: 220px;
    float: right;
    padding-bottom: 50px;
    padding-left: 50px;
  }
  .langmenu {
    width: 150px;
  }
  .langs, .langs a {
    width: 130px;
  }
  .langmenu img {
    float: left;
  }
  .langmenu span {
    display: block;
    float: left;
    line-height: 29px;
    padding-left: 5px;
  }
  #onpage_search {
    width: 160px;
  }
  .mainmenu {
    float: right;
    margin-right: 30px;
  }
  .mainmenu .menu-button {
    display: none;
  }
  .selected .submenu {
    display: none;
  }
  .selected .close-btn {
    display: none;
  }
  .mainmenu li {
    line-height: 28px;
    text-transform: none;

  }
  .mainmenu .item {
    float: left;
    display: block;
    width: auto;
    background-color: transparent;
    position: relative;
  }
  .mainmenu li:hover {
    background-color: #d52820;
  }
  .mainmenu>li:hover>a:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 5px 0 5px;
    border-color: #d52820 transparent transparent transparent;
    position: absolute;
    top: 28px;
    left: 50%;
  }
  .mainmenu .item a {
    color: #d52820;
    font-size: 13px;
    width: auto;
    padding: 0 20px;
    line-height: 28px;
    display: block;
  }
  .mainmenu li:hover a {
    color: #fff;
  }
  .mainmenu li:hover .submenu {
    display: block;
  }
  .item .submenu {
    position: absolute;
    top: 28px;
    padding-top: 16px;
  }
  .item .submenu li {
    width: 100%;
    margin: 0;
  }
  .mainmenu .submenu li a {
    font-family: "Notosans";
    text-align: left;
    font-size: 13px;
    line-height: 14px;
    padding: 7px 10px;

  }
  .mainmenu .submenu li a:hover {
    text-decoration: underline;
  }
  .header-bg {
    background: url("/images/header-bg.jpg") top center no-repeat;
  }
  .common-bg {
    padding-top: 75px;
    background: url("/images/header-bg.jpg") top center no-repeat;
  }
  .header-bg .content-boxes {
    padding-top: 203px;
  }
  .content-boxes .box {
    float: left;
    width: 212px;
    margin-right: 30px;
    padding-bottom: 48px;
    background: url("/images/dots-blue.png") bottom center no-repeat;
  }
  .content-boxes a {
    text-decoration: none;
    color: #fff;
    font-family: "NotoSans";
    font-size: 12px;
  }
  .content-boxes a:hover {
    text-decoration: underline;
  }
  .content-boxes .box:hover {
    background-image: url("/images/dots-red.png");
  }
  .content-boxes .box:last-child {
    margin-right: 0;
  }
  .content-boxes .box-inner {
    background-color: #273376;
    height: 204px;
    position: relative;
  }
  .content-boxes .box .heading, .content-boxes .box .heading a {
    font-size: 19px;
    line-height: 25.5px;
    padding: 10px 0;
    margin: 0 10px;
  }
  .content-boxes .links {
    font-size: 12px;
  }
  .content-boxes .links li {
    color: #fff;
    margin-top: 7px;
  }
  .content-boxes .heading {
    border-bottom: 1px dashed #fff;
  }
  .content-boxes .box:hover .box-inner {
    background-color: #e30613;
  }
  .content-boxes .read-more {
    position: absolute;
    bottom: 15px;
    right: 10px;
  }
  .content-boxes .read-more a {
    padding-right: 26px;
    background: url("/images/right-arrow.png") center right no-repeat;
    line-height: 17px;
    font-size: 10px;
    display: block;
  }
  .newslist {
    width: 460px;
    float: left;
  }
  .newslist .title, .right-sidebar .title {
    display: block;
    color: #273376;
    font-size: 29px;
    font-family: 'source_sans_prolight';
  }
  .newslist .item h2 {
    font-size: 19px;
  }
  .newslist .item p {
    font-size: 14px;
  }
  .newslist .item .read-more {
    display: inline;
  }
  .read-all-news {
    background-color: #273376;
    width: 125px;
    height: 29px;
    padding: 0;
    color:  #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 32.5px;
    margin-top: 15px;
    text-decoration: none;
  }
  .left-sidebar {
    width: 220px;
    float: left;
    padding-top: 23px;
    display: block;
  }
  .left-sidebar a {
    font-family: 'source_sans_prolight';
    color: #555555;
    text-decoration: none;
    display: block;
    float: none;
    margin: 5px 0;
  }
  .left-sidebar .logo {
    height: 23px;
    width: 23px;
    float: left;
    margin-right: 10px;
  }
  .left-sidebar .timetable {
    background: url("/images/timetable-gray.png") center center no-repeat;
  }
  .left-sidebar .intranet {
    background: url("/images/intranet-gray.png") center center no-repeat;
  }
  .left-sidebar .gmail {
    background: url("/images/gmail-ico.png") center center no-repeat;
  }
  .left-sidebar .gcal {
    background: url("/images/add-calendar.png") center center no-repeat;
  }
  .left-sidebar .mobi {
    background: url("/images/mobi-icon.png") center center no-repeat;
  }

  .left-sidebar a:hover {
    color:  #e30613;
  }
  .left-sidebar a:hover .timetable {
    background-image: url("/images/calendar-ico-hover.png");
  }
  .left-sidebar a:hover .intranet {
    background-image: url("/images/network-ico-hover.png");
  }
  .left-sidebar a:hover .gmail {
    background-image: url("/images/gmail-small.png");
  }
  .left-sidebar a:hover .gcal {
    background-image: url("/images/add-calendar-hover.png");
  }
  .left-sidebar a:hover .mobi {
    background-image: url("/images/mobi-icon-hover.png");
  }


  .fb {
    padding: 0 0 20px;
  }

  .right-sidebar {
    float: right;
    width: 216px;
    display: block;
    padding-top: 15px;
  }
  .right-sidebar .date {
    color:  #e30613;
    font-size: 18px;
    font-family: 'source_sans_prolight';
  }
  .right-sidebar .location {
    color:  #5f5f5f;
    font-size: 13px;
    font-weight: 400;
  }
  .right-sidebar .content {
    width: auto;
    color:  #273376;
    font-size: 14px;
    font-weight: 400;
    padding: 2px 0;
    min-height: 0;
  }
  .footer-links {
    float: right;
    width: 480px;
    padding: 15px 0;
  }
  .footer-links .logo {
    display: none;
  }
  .footer-links a {
    width: auto;
    height: auto;
    background-color: transparent;
    margin: 0 10px;
    font-size: 12px;
  }
  .footer-links a:hover {
    background-color: transparent;
    color: #e30613;
  }
  .footer-name {
    width: 233px;
  }
  .footer-contact {
    width: 210px;
  }
  .footer-name, .footer-contact {
    float: left;
  }
  .footer-name .name {
    font-size: 16px;
    text-align: left;
  }
  .footer-name .address, .footer-contact {
    font-size: 12px;
    text-align: left;
  }
  .footer-contact {
/*   border-right: 1px solid #959595; */
  }
  .footer-copyright {
    padding: 0;
    text-align: left;
  }
  .common-bg .wrapper {
    background: url("/images/subpage-bg.jpg") top center repeat;
    position: relative;
  }
  .common-bg .wrapper:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 228px;
    height: 68px;
    background: url("/images/sidebar-bottom.png") bottom -8px center no-repeat;
  }
  .sidebar {
    height: 100%;
    width: 228px;
    float: right;
    display: block;
    padding-top: 15px
  }
  .sidebar ul {
    margin: 0;
    padding-bottom: 60px;
  }
  .sidebar li {
    color: #fff;
    margin: 10px 0;
  }
  .sidebar a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-family:'source_sans_prolight';
  }
  .sidebar a:hover, .sidebar .current {
   font-family:'source_sans_prosemibold';
  }
  .content {
    padding: 25px 15px;
    width: 682px;
    float: left;
    min-height: 150px;
  }
  .crumbs {
    display: block;
  }
  .crumbs a {
    font-size: 12px;
    text-decoration: none;
    color: #a7a4a4;
  }
  .crumbs a:last-child {
    color: #eb0613;
  }
  .crumbs .child {
    position: relative;
    margin-left: 15px;
  }
  .crumbs .child:before {
    content: '';
    position: absolute;
    top: 6px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 3px;
    border-color: transparent transparent transparent #a7a4a4;
  }
  .content .title {
    font-size: inherit;
  }
  .content .member {
    padding-right: 30px;
  }
  .content .member:nth-child(4n) {
    padding: 0;
  }
}
/*Ando additions*/
.newslist .item a{
  font-size: 14px;
}
.newslist .item img{
  max-width: 100%;
}
table a{
  font-size: 15px;
}


iframe {
  max-width:100%;
}

.newsContent h2 {
  font-size: 22px;
}

  .clearfix {
    display: inline-block;
    width: 100%;
    clear: both;
  }

  .hidden {
    display: none;
  }

/* HEADER
 ** ========================================================================== */
/* Header menu block
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    .header-menu-block {
      position: relative;
    }

    .header-menu-block:after {
      content: "";
      position: absolute;
      bottom: 0;
      width: 100%;
      height: 32px;
      background-color: #273376;
      z-index: -1;
    }
  }

/* Searchbox
 --------------------------------------------------------------------------- */
  #search {
    border: none;
    border-bottom: 1px solid #b2b2b2;
  }

  @media screen and (min-width: 939px) {
    .header-menu-block .header-top {
      padding-top: 20px;
      padding-bottom: 25px;
    }
  }

/* Logo
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    #logo {
      height: 100px;
      width: 240px;
      background: #FFF url("/images/Logo.png") center center / 90% no-repeat;
    }
  }

/* Mainmenu
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    .mainmenu .item {
      margin-bottom: 0;
    }

    .mainmenu .item a {
      color: #FFF;
      padding-top:2px;
      padding-bottom: 2px;
      white-space: nowrap;
    }

    .mainmenu .mainmenu-link {
      text-transform: uppercase;
    }
  }

/* Header background
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    .header-bg, .cover-image {
      height: 407px;
    }
  }

/* DROPDOWN MENU
 ** ========================================================================== */

/* Mainmenu
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    .content-boxes .box-inner {
      position: relative;
      height: auto;
      background-color: #273376;
    }

    .content-boxes .box,
    .content-boxes .box:hover{
      background: none;
    }

    .box {
      margin-bottom: 201px;
      padding-bottom: 0!important;
    }
  }

/* Submenu
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    .item .submenu {
      top: 17px;
      min-width: 100%;
    }
  }

/* MAIN WRAPPER
 ** ========================================================================== */
/* Main block wrapper
 --------------------------------------------------------------------------- */
  @media screen and (min-width: 939px) {
    .main-block-wrapper {
      margin-top: -220px;
      background: #273376 url(http://tdk.ee/images/sidebar-bottom.png) 99% 101% / auto no-repeat;
    }

    .content {
      min-height: 300px;
      background: #FFF;
    }

    .wrapper.front-page {
      background: #FFF;
    }
  }

/* INFOBOX
 ** ========================================================================== */
/* Wrapper position Fix
 --------------------------------------------------------------------------- */
   .cf.wrapper {
     position: relative;
   }

/* Infobox container
 --------------------------------------------------------------------------- */
  .infobox {
    margin: 0 15px 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b9b9b9;
  }

  @media screen and (min-width: 939px) {
    .infobox {
      float: right;
      box-sizing: border-box;
      position: relative;
      display: table;
      margin: 15px;
      width: 690px;
    }
  }

/* Infobox image
 --------------------------------------------------------------------------- */
  .infobox-image-block {
    max-width: 320px;
    margin: auto;
  }

  .infobox img {
    float: none;
    width: 100%;
    height: auto;
  }

  @media screen and (min-width: 939px) {
    .infobox-image-block {
      display: table-cell;
      margin: 0;
    }

    .infobox img {
      display: inline-block;
      width: 230px;
      height: auto;
      margin-top: 10px;
      margin-right: 10px;
    }
  }

/* Infobox title
 --------------------------------------------------------------------------- */
  .infobox-header {
    display: block;
    margin:0;
    font-family: 'source_sans_prolight';
    font-size: 28px;
    font-weight: bold;
    color: #e30613;
  }

/* Infobox text
 --------------------------------------------------------------------------- */
  .infobox-news-text {
    width:100%;
    line-height: 1.4;
    font-size: 15px;
  }

  .infobox-news-text p {
    font-size: 15px;
  }

  @media screen and (min-width: 939px) {
    .infobox-news-text {
      display: table-cell;
      vertical-align: top;
    }
  }

/* Infobox "Vaata lähemalt" link
 --------------------------------------------------------------------------- */
  .infobox .link {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    font-family: "NotoSans";
    font-size: 13px;
    font-weight: bold;
    color: #273376;
  }

  .infobox .link:hover {
    color: #e30613;
  }

  .infobox .link span {
    vertical-align: middle;
    cursor: pointer;
  }

  .infobox .link:after {
    content: "\f18e";
    display: inline-block;
    margin-left: 10px;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 18px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: middle;
  }

/* LEFT SIDEBAR
 ** ========================================================================== */
/* Left sidebar
 --------------------------------------------------------------------------- */
  .sidebar-header-block {
    margin-bottom: 20px;
  }

  .sidebar-header-block h2 {
    font-family: 'source_sans_prosemibold';
    font-size: 18px;
    color: #000;
    margin: 0;
  }

  .sidebar-header-block p {
    padding: 0;
    margin: 0;
  }

  .sidebar-header-block a {
    font-family: 'source_sans_prolight';
    font-weight: bold;
    font-size: 14px;
    display: inline;
    color: #e30613;
  }

  @media screen and (min-width: 939px) {
    .fb {
      margin-top: 20px;
    }

    .left-sidebar {
      width: 200px;
      padding-left: 20px;
    }

    .left-sidebar .title {
      display: block;
      color: #273376;
      font-size: 29px;
      font-family: 'source_sans_prolight';
    }

    .left-sidebar .date {
      color:  #e30613;
      font-size: 18px;
      font-family: 'source_sans_prolight';
    }
    .left-sidebar .location {
      color:  #5f5f5f;
      font-size: 13px;
      font-weight: 400;
    }
    .left-sidebar .content {
      width: auto;
      color:  #273376;
      font-size: 14px;
      font-weight: 400;
      padding: 2px 0;
      min-height: 0;
    }

    .left-sidebar .read-all-news {
      color: #FFF;
      margin-top: 15px;
      text-decoration: none;
    }

    .left-sidebar .read-all-news:hover {
      color: #FFF;
    }
  }

/* RIGHT SIDEBAR
 ** ========================================================================== */
/* Right sidebar
 --------------------------------------------------------------------------- */
  .right-sidebar {
    width: 220px;
  }

  @media screen and (min-width: 939px) {
    .right-sidebar {
      padding: 20px 15px 15px 0;
    }
  }

/* MAIN CONTENT
 ** ========================================================================== */
/* News items
 --------------------------------------------------------------------------- */
  .newslist {
    box-sizing: border-box;
    padding: 15px;
  }

  .newslist .item {
    border-bottom: 1px solid #b9b9b9;
  }

  .newslist .item {
    padding: 10px 0;
  }

  .newslist .item .article-header {
    margin: 0;
    color: #e30613;
    font-family: 'source_sans_prolight';
    font-weight: bold;
    font-size: 18px;
  }

  .newslist .item .article-header:hover {
    text-decoration: underline;
  }

  .newslist .item .article-body {
    float: none;
    font-size: 14px;
  }
  .newslist .item .article-body p:first-child {
    margin-top: 5px;
  }

  .newslist .item img {
    box-sizing: border-box;
    float: none;
  }

  .article-body p {
    margin-bottom: 0;
  }

  @media screen and (min-width: 939px) {
    .newslist {
      padding-right: 0;
      width: 470px;
    }

    .article-image, .article-body {
      box-sizing: border-box;
      /*display: table-cell;*/
      vertical-align: top;
    }

    .article-body-wrapper:after {
      content: "";
      display: inline-block;
      width: 100%;
      clear: both;
    }

    .newslist .article-image {
      width: 50%;
    }

    .article-image {
      float: left;
    }

    .article-image img {
      width: 100%;
      height: auto;
      padding-right: 10px;
    }
  }

@media screen and (max-width: 360px) {
  .wrapper,
  #logo {
    box-sizing: border-box;
    width: 320px;
  }

  .footer-links a, .footer-links .edit-logo {
    width: 74px;
    height: 74px;
    font-size: 14px;
  }

  .footer-links .logo {
    height: 48px;
    width: 74px;
  }
}

/* PAGE HEADER
 ** ========================================================================== */
/* Slogan
 --------------------------------------------------------------------------- */
  .slogan {
    min-width: 200px;
    padding: 0 0 20px;
    color: #e30613;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
  }

  @media screen and (min-width: 939px) {
    .slogan {
      float: left;
      padding: 23px 0 0 100px;
      color: #e30613;
      font-size: 16px;
      font-weight: bold;
    }
  }

/* GALLERY ALBUMS
** ========================================================================== */

/* Galery album title
 --------------------------------------------------------------------------- */
  #container .pwi_album {
    max-width: 151px;
    height: 141px;
    text-align: left;
  }

  .pwi_container .pwi_album_title {
    position: relative;
    display: inline-block;
    height: auto;
    width: auto;
    color: #565656;
    font-size: 14px;
  }

  .js-img-download {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    margin: 20px;
    width: 30px;
    height: 30px;
    padding: 10px;
    background: #FFF;
    background-image: url('http://megaicons.net/static/img/icons_sizes/8/178/512/very-basic-download-icon.png');
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #000;
    z-index: 1;
    cursor: pointer;
  }

/* ARTICLE
** ========================================================================== */

/* Article edicy title
 --------------------------------------------------------------------------- */
  .article-title {
    margin-bottom: 0;
  }

  .article-date {

  }

  .edicy-content-title {
    color: red;
    font-size: 12px;
  }

  .article-image img {
    width: 100%;
    height: auto;
  }

  @media screen and (min-width: 939px) {
    .article-body-wrapper .article-image img {
      width: 180px;
    }

    .article-body-wrapper .article-body img {
      height: auto;
    }
  }

.news-article-image {
  float: none;
  max-width: 340px;
  margin-right: 0;
}

@media screen and (min-width: 939px) {
  .news-article-image {
    max-width: none;
    margin-right: 20px;
  }
}

/* Article
 --------------------------------------------------------------------------- */
  .article-title {
    margin-bottom: 0;
  }

  .article-date {
    margin-bottom: 15px;
    color: #9e9e9e;
    font-size: 14px;
  }

 /* SEARCH BOX
** ========================================================================== */

/* Searchbox
 --------------------------------------------------------------------------- */
  .search-box .edys-search-input {
    width: 0;
    padding-right:4px;
    padding-left:4px;

    -webkit-transition: width .3s ease-in-out, padding-right .3s ease-in-out, padding-left .3s ease-in-out;
    -moz-transition: width .3s ease-in-out, padding-right .3s ease-in-out, padding-left .3s ease-in-out;
    -o-transition: width .3s ease-in-out, padding-right .3s ease-in-out, padding-left .3s ease-in-out;
    transition: width .3s ease-in-out, padding-right .3s ease-in-out, padding-left .3s ease-in-out;
  }

  .search-box .edys-search-input.open {
    width: 160px;
    padding-right:15px;
    padding-left:15px;
  }

  /* Image container styles */
.edy-positionable-container-center:first-child,
.edy-positionable-container-left-block:first-child,
.edy-positionable-container-right-block:first-child,
.edy-texteditor-container-wrapper-center:first-child,
.edy-texteditor-container-wrapper-left-block:first-child,
.edy-texteditor-container-wrapper-right-block:first-child {
  margin-top: 0;
}

.edy-positionable-container-center:last-child,
.edy-positionable-container-left-block:last-child,
.edy-positionable-container-right-block:last-child,
.edy-texteditor-container-wrapper-center:last-child,
.edy-texteditor-container-wrapper-left-block:last-child,
.edy-texteditor-container-wrapper-right-block:last-child {
  margin-bottom: 0;
}

.edy-positionable-container-center,
.edy-positionable-container-left-block,
.edy-positionable-container-right-block,
.edy-texteditor-container-wrapper-center,
.edy-texteditor-container-wrapper-left-block,
.edy-texteditor-container-wrapper-right-block {
  margin-top: 20px;
  margin-bottom: 20px;
}

.edy-positionable-container-left,
.edy-texteditor-container-wrapper-left {
  margin-right: 20px;
}

.edy-positionable-container-right,
.edy-texteditor-container-wrapper-right {
  margin-left: 20px;
}

.edy-image-container-with-title:after {
  display: block;
  padding: 4px;
  font-size: 12px;
  line-height: 1.3em;
  content: attr(data-title);
}

/* Image container */
.cover-image {
  display: inline-block;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Image container styles in editmode. */
.editable-cover-image {
  cursor: move;
  border: 1px dashed #ccc;
}

/* Image container placeholder text styles in editmode. */
.edy-img-drop-area-placeholder {
  padding: 113px 5px;
}

/* Image container hovering styles in editmode. */
.edy-img-drop-area-positionable.over {
  background-color: rgba(0,0,0,.2);
}

.partner-logo {
  display: block;
  width: 175px;
  height: 85px;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -ms-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}
.partner-logo-tt {
  background-image: url("http://media.voog.com/0000/0036/5182/photos/TT%20uus%20logo%20sinine.png");
}
.partner-logo-tek {
  background-image: url("/images/tek_logo.jpg");
}

.partner-logo-lkk {
  background-image: url("/images/lkk_logo_md.png");
}

.partner-logo-evk {
  background-image: url("/images/logo-evk.png");
}

.partner-logo-hke {
  background-image: url("/images/logo-heakool.jpg");
}

.partner-logo-kik {
  background-image: url("/images/kik_logo_2.png");
}

.partner-logo-hitsa {
  background-image: url("/images/logo-hitsa.png");
}

.partner-logo-innove {
  background-image: url("/images/logo-innove.jpg");
}

.partner-logo-vepa {
  background-image: url("/images/logo-vepa.png");
}

.partner-logo-erasmus {
    width: 250px;
    background-image: url("/images/logosbeneficaireserasmusright_et.jpg");
}

@media screen and (min-width: 939px) {
  a.link-to-media {
    width: 100%;
    margin-top: 15px;
    line-height: 35px;
    letter-spacing: 0.1em;
    font-size: 18px;
    color: #fff;
    background-color: #273376;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
  }

  a.link-to-media:hover {
    color: #fff;
  }
}

.course-link {
  width: 125px;
  margin-top: 40px;
}
