:root{
  --r-blue: rgb(0, 125, 186);
  --r-orange: rgb(254,80,0);;
  --r-yellow: rgb(255, 205, 0);
  --r-grey: rgb(200, 201, 199);
  --r-darker-grey: rgb(151, 153, 155);
}

@keyframes item_show{
  from {filter: opacity(0%)}
  to {filter: opacity(100%)}
}

body{
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 150%;
  margin: 0px;
  padding: 0px;
  top: 0px;
  text-align: left;
  height: 100%;
}

html{
  text-align:center;
  height: 100%;
}

/*-------------------------------------------------------------------------*/

#main {
  margin-bottom: 20px;
  min-height: calc(100vh - 248px);
  padding-top: 130px;
}

#header {
  height: 79px;
  width:100%;
  background-color: white;
  position: fixed;
  top: 0px;
  z-index: 100000;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, .20);
}

#header_content{
  height: 72px;
}

#header_content, #footer_content, #references_content, #main{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

#logo{
  padding: 10.5px 15px 4.5px 0px;
  height: 60px;
  float: left;
  background-color: white;
}

#logo-jcmm{
  padding: 21.5px 15px 17.5px 20px;
  height: 50px;
  float: left;
}

#logo img{
  height: 50px;
}

#logo-jcmm img{
  height: 32px;
}

#header h2:hover{
  color:white;
}

#right {
  width: 301px;
  display: inline-block;
}

#footer {
  text-align: center;
  background-color: var(--r-blue);
  padding: 30px 0px 30px 0px;
  margin-top: 30px;
  line-height: 180%;
  color: white;
}

#footer a, #footer a:visited, #footer a:hover{
  color: white;
  text-decoration: none;
}

#footer hr{
  background-color: #474747;
}

#footer h2{
  color: white;
  font-size: 18px;
}

#footer h3{
  font-size: 16px;
  color: #c0c0c0;
}

#footer .column{
  display: inline-block;
  vertical-align: top;
  width: 22%
}


/*----------------------------------------------------------------------------*/
/* menu */

.show_menu{
  display: none;
  color: var(--r-blue);
  font-weight: bold;
  border: 1px solid var(--r-grey);
  border-radius: 40px;
  padding: 13px 15px;
  margin-top: 13px;
  /*margin-right: 40px;*/
  font-size: 20px;
  float: right;
}

.show_menu .icon-menu::before{
  margin-right: 0px;
  margin-left: 0px;
}

.main_menu{
  float: right;
  margin-top: 1px;
  margin-bottom: 0px;
  /*margin-right: 45px;*/
  padding: 0px;
}

.main_menu li{
  display: inline-block;
  font-size: 16px;
}

.main_menu li:last-of-type{
  border-right: none;
}

.main_menu a{
  padding: 24px 15px 18px 15px;
  display: block;
  text-decoration: none;
  font-weight: bold;
  color: var(--r-blue);
}

.main_menu_2 a{
  color: var(--r-blue) !important;
}

.main_menu a:hover{
  animation: menu_item_hover 0.25s;
  -webkit-animation: menu_item_hover 0.25s;
  color: var(--r-orange);
}

.main_menu_2 a:hover{
  animation: menu_item_hover 0.25s;
  -webkit-animation: menu_item_hover 0.25s;
  color: var(--r-orange) !important;
}

.main_menu .active a:hover{
  animation: none !important;
  -webkit-animation: none !important;
}

.main_menu .active a{
  color: var(--r-orange);
}

.main_menu_2 .active a{
  color: var(--r-orange) !important;
}

@keyframes menu_item_hover {
  from {color: var(--r-blue);}
  to {color: var(--r-orange);}
}

.main_menu_2{
  display: none;
  position: absolute;
  background-color: white;
  padding-left: 0px;
  margin-top: -5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, .20);
}

@media screen and (min-width: 1000px) {
  .submenu:hover .main_menu_2{
    display: block;
  }
}

.main_menu_2 li{
  display: block;
}

.main_menu_2 a{
  display: block;
  padding: 10px 20px;
}

.main_menu li:last-of-type a::before, .main_menu li:nth-last-of-type(2) a::before{
  font-size: 20px;
  color: #3A3A3A;
  content: '\f16a';
  font-family: "websy-web-big";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main_menu li:last-of-type:hover a::before{
  color: #ff0000;
}

.main_menu li:nth-last-of-type(2) a::before{
  content: '\f09a';
}

.main_menu li:nth-last-of-type(2):hover a::before{
  color: #4267B2;
}

.main_menu_2 li:last-of-type a::before, .main_menu_2 li:nth-last-of-type(2) a::before{
  display: none;
}


/*-------------------------------------------------------------------------------*/

#flags{
  width: 30px;
  position: absolute;
  right: 0px;
}

#flags a{
  margin-top: 5px;
  display: block;
  width: calc(100% - 10px);
  padding: 3px 5px;
  border: 1px solid var(--r-grey);
  border-radius: 30px;
}

#flags img{
  width: 100%;
}

.lang-cs #flag-cs{
  display: none;
}

.lang-en #flag-en{
  display: none;
}

.lang-ru #flag-ru{
  display: none;
}

/*--------------------------------------------------------------------------------*/

.square{
  margin: 10px 10px 0px 0px;
  width: calc(25% - 7.5px);
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 3px;
  vertical-align: top;
}

.square:nth-of-type(4n){
  margin-right: 0px;
}

.inner-square{
  filter: opacity(80%);
  transition: transform .4s;
  border-radius: 3px;
  width: 100%;
  padding-top: 100%;
  background-position: center center;
  background-size: cover;
}

.inner-square:hover{
  filter: opacity(100%);
  transform: scale(1.1);
}

/*----------------------------------------------------------------------------*/

#big_links{
  text-align: center;
}

.big_link{
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  text-align: center;
  margin: 50px 5vw;
}

.big_circle{
  color: white;
  width: 12vw;
  height: 12vw;
  line-height: 12vw;
  font-size: 6vw;
  margin-bottom: 30px;
  border-radius: 30vw;
  text-align: center;
  display: inline-block;

}

.livestream .big_circle{
  background-color: var(--r-orange);
}

.list .big_circle{
  background-color: var(--r-blue);
}

/*----------------------------------------------------------------------------*/

.media-item{
  border-radius: 3px;
  transition: transform .4s;
  overflow: hidden;
  position: relative;
  display: inline-block;
  width: calc(50% - 5px);
  margin: 0px 10px 2px 0px;
  padding-top: calc(30% - 5px);
}

.media-item:hover div{
  transform: scale(1.03);
}

.media-item div{
  position: absolute;
  top: 0px;
  left: 0px;
  transition: transform .4s;
  border-radius: 3px;
  width: 100%;
  padding-top: 60%;
  background-position: center center;
  background-size: cover;
}

.media-item:nth-of-type(2n){
  margin-right: 0px;
}

.media-item h2{
  font-size: 20px;
  display: block;
  width: calc(100% - 60px);
  padding: 20px 30px;
  color: white;
  background-color: rgba(0, 125, 186, .9);
  position: absolute;
  bottom: 0px;
  left: 0px;
  margin: 0px;
}

/*----------------------------------------------------------------------------*/

#partneri_home {
  text-align: center;
}

#partneri_home a{
  width: 15%;
  margin: 5%;
  display: inline-block;
  vertical-align: middle;
  transition: transform .4s;
}

#partneri_home a:hover{
  transform: scale(1.05);
}

.partneri img, .partners img, .partnery img{
  float: left;
  width: 200px;
  margin: 20px 40px 30px 0px;
}

/*----------------------------------------------------------------------------*/
/* forms */

form table{
  width: 100%;
}

.table-respons{
  overflow: auto;
}

form td{
  vertical-align: middle;
  padding: 3px 15px;
}

button{
  display: inline-block;
  margin-right: 10px;
  padding: 8px 15px;
  text-align: center;
  font-size: 16px;
  text-decoration: none !important;
  background-color: #1699be;
  border: none;
  color: white;
  line-height: 150%
}

button:hover{
  animation: button_hover 0.25s;
  -webkit-animation: button_hover 0.25s;
  background-color: #31b0c8;
}

@keyframes button_hover {
  from {background-color: #1699be;}
  to {background-color: #31b0c8;}
}

input:not([type="radio"]):not([type="checkbox"]), select{
  border: 2px solid #1699be;
  padding: 12px;
  margin: 8px 0px 8px 0px;
  font-size: 16px;
  background-color: white;
  max-width: 300px;
  width: calc(100% - 26px);
}

input[type="radio"]{
  margin-right: 20px ;
}

input[type="checkbox"]{
  margin-right: 20px ;
  margin-left: 15px ;
}

select{
  width: 100%;
  max-width: 326px;
}

input:hover, select:hover, textarea:hover, textarea:focus, input:focus, select:focus{
  /*animation: input_shadow 0.25s;
  -webkit-animation: input_shadow 0.25s;
  box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);*/
  border-color: #31b0c8;
}

@keyframes input_shadow {
  from {box-shadow: 0px 0px 2px rgba(0,0,0,.2);}
  to {box-shadow: 0px 3px 5px rgba(0,0,0,.2);}
}

@-webkit-keyframes input_shadow {
  from {-webkit-box-shadow: 0px 0px 2px rgba(0,0,0,.2);}
  to {-webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);}
}

textarea{
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  border: 2px solid #1699be;
  line-height: 150%;
  padding: 12px;
  width: calc(100% - 28px);
  height: 200px;
}

.checks{
  line-height: 180%;
  margin-bottom: 20px;
}

.require_elem{
  color: #dd0c0c;
  font-weight: bold;
}

.err{
  color: #dd0c0c;
  display: block;
  margin-top: 5px;
}

.alert{
  color: white;
  display: block;
  padding: 10px 20px;
  font-weight: bold;
}

.alert.positive{
  background-color: #089f08;
}

.alert.negative{
  background-color: #dd0c0c;;
}

/*----------------------------------------------------------------------------*/
/* other styles */

#main img{
  max-width: 100% !important;
  height: auto !important;
  border-style: none;
}

hr{
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  height:1px;
  border-width:0;
  background-color: var(--r-grey);
  clear: left;
}

#main a, #main a:visited{
  color: rgb(254,80,0);
  font-weight: bold;
}

a:hover{
  text-decoration: none;
}

.table_scroll{
  overflow: auto;
  max-width: 100%;
}

td{
  padding: 5px;
  vertical-align: top;
}

h1 {
  font-size: 40px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 40px;
  color: rgb(254,80,0);
}

h2{
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: rgb(0, 125, 186);
}

h3 {
  font-size: 20px;
  font-weight: bold;
  line-height: 150%;
  vertical-align: top;
  color: rgb(0, 125, 186);
}

h4 {
  font-size: 15px;
  font-weight: normal
}

h1, h2, h3 {
  line-height: 150%;
}

p, li {
  line-height: 180%;
  text-align: justify;
}

#main li{
  margin-bottom: 5px;
}

#main ul{
  list-style-type: none;
  padding-left: 10px;
}

#main li:before { /* the custom styled bullets */
  background-color: rgb(0, 125, 186);
  content: "";
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 2px;
  height: 7px;
  width: 7px;
}

p{
  margin-top: 10px;
  margin-bottom: 10px;
}