body {
  margin: 0;
  font-family: PT_sans;
  background-color: rgba(255,255,255,255);
}

p {
   padding-bottom:5px;
   margin:0;
}

html {
  scroll-behavior: smooth;
}


.item-page h2:lang(ka-ge){font-family: mtavruli;}
body:lang(ka-ge){font-family: bpg_arial;}
#header:lang(ka-ge){font-family: mtavruli;}
#menu:lang(ka-ge){font-family: mtavruli;}
#slideshow:lang(ka-ge){font-family: mtavruli;}
#aboutus:lang(ka-ge){font-family: bpg_arial;}
.title:lang(ka-ge){font-family: bpg_caps;}
.more:lang(ka-ge){font-family: bpg_arial;}

html {
  scroll-behavior: smooth;
}

.title {
  padding-top: 25px;
  padding-bottom: 45px;
  font-size: 26px;
  text-align: center;
  text-transform: uppercase;
  color: #40556c;
  opacity: 0;
}

.book{
  display: block;
  transition: 500ms;
  position: relative;
  float:left;
  width:200px;
  height: 200px;
  margin: 20px 50px 20px 20px;
  padding: 10px;
  background-color: #ffe8df;
  color: #40556c;
  border-radius: 0px 10px 10px 0px;
  opacity: 0;
  font-family: bpg_caps;
}
.book:hover
{
  cursor: pointer;
  transform: rotate(20deg);
}

.book::before {
position: relative;
left: -30px;
content: "PDF";
width: 50px;
height: 35px;
background: #ed0732;
display: block;
text-align: center;
padding-top: 15px;
margin-bottom: 10px;
font-weight: bold;
 color: #fff;
}



.ul-scroll {
  transition: 500ms;
}


ul .menu {
  position: absolute;
}

#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 10px 0 8px 0;
    overflow: hidden;
    position: relative;
    width: 1200px;
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
}

.menubkg {
  transition: 500ms;
  width: 100%;
  position: relative;
  background-color: rgba(28,44,56,1);
  opacity: 0.9;
  
}

#menu ul li {
    display: inline-block;
    text-align: center;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    transition:  300ms;
    color: #fff;
}


#menu ul li a{
    display: inline-block;
    color: #fff;
    text-align: center;
    text-decoration: none;
}


#menu ul li a:hover::before {
  transform-origin: left top;
  transform: scale(1,1);
}

#menu ul li a::before {
  position: relative;
  bottom: -10px;
  left: 0;
  content: "";
  width: 100%;
  height: 4px;
  background: #fff;
  transition: transform .3s;
}
/*-------------------------*/


#languagebar {padding: 15px 0px 15px 0px; margin-top: 0; position: relative;}

div.mod-languages ul {
  
  padding: 0;
  list-style: none;
  position: relative;
  float: right;
  font-size: 20px;
  font-family: PT_sans;
}

div.mod-languages ul li a{
  color: #000;
}
div.mod-languages ul li.lang-active
{
  display: none;
}
/********************************/
#play {opacity: 1; transition: .5s ease; }
#play:hover {opacity: 1; box-shadow: inset 0 0 60px #00000061;}
#play .button {
    opacity: 0.85;
    transition: .5s ease;
    height: 0;
    width: 0;
    margin-left: 20px;
    background: none;
    border: none;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;
    border-left: 95px solid #fff;
    filter: drop-shadow(0 0 8px rgba(0,0,0, 0.8));  
    cursor: pointer;
}
#play .button:hover{opacity: 0.95;}


/********************************/
#research .container {
  display: flex;
}

#research .item {
  flex-grow: 1;
  transition: width 0.3s ease-in-out;
  width:297px;
  height: 270px;
  background: #000;
  background-size: cover;
  background-position: center;
  position: relative;
}

#research .item:hover {
    cursor: pointer;
  width: calc((100% - 20px) / 3); /* Adjust the spacing between items */
}

#research .item:not(:last-child) {
  margin-right: 4px; /* Adjust spacing between items */
}

.readmore .btn .btn-secondary {
  transition: .5s ease;
  position: absolute;
  /*float: left;*/
  /*margin: 210px 0px 0px 20px;*/
  margin-left: 20px;
  bottom: 20px;
  background: #f47f52;
  text-align: center;
  padding: 10px 15px 10px 15px;
  color: #fff;
  font-weight: bold;
  border-radius: 10px 0px;
}



.readmore .btn:hover{
  background: #8f6cef;
}

.readmore .btn a{
  text-decoration:none;
    color: #fff;
}
.readmore .btn a:hover{
  text-decoration:none;
  color: #fff;
}



/*****************************/
/*
#news .outline {transition:0.5s; margin:0 5px 0 5px; position: relative; float: left; border: 5px solid #0066b1;}

 #news .entry{
  transition: .5s ease;
  opacity: 1;
  position: relative;
  float: left;
  width: 210px;
  height: 150px;
  padding:10px;
  margin: 5px;
  color: #fff;
  background-color: #0066b1;
  font-family: bpg_caps;
}
#news .entry:hover{
background-color: #8f6cef;
}
#news .entry img{
  float: right;
  width: 250px;
}

#news .entry a {
  text-decoration:none;
  color: #fff;
  font-size: 18px;
}
*/
/* Container for the News Row */
/* The container for the news items */
/* 1. Force the news container to be a block that takes full width */
.news-container {
    width: 100%;
    display: block;
    clear: both;
    text-align: center;
}

/* 2. Target the UL inside that specific container */
.news-container ul.mod-articlesnews-horizontal {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

/* 3. The Bordered Wrapper (The "Outline") */
.news-container ul.mod-articlesnews-horizontal li {
    display: block !important;
    float: none !important;
    flex: 0 0 auto !important; /* Prevents the item from stretching */
    width: auto !important;     /* Allows it to shrink to the inner box */
    border: 3px solid #0066b1;
    transition: 0.5s;
    position: relative;
    margin: 0 10px;            /* Adds space between the boxes */
    padding: 0;
}

/* 4. The Blue Box (The "Entry") - SMALLER SIZE */
.news-container .newsflash-title {
    display: block !important;
    width: 210px !important;    /* This is your master width */
    height: 160px !important;   /* This is your master height */
    margin: 4px !important;    /* The gap between border and blue box */
    background-color: #0066b1;
    padding: 10px;
    box-sizing: border-box;    /* Crucial: keeps padding inside the 160px */
}

/* 5. The Link Text */
.news-container .newsflash-title a {
    color: #fff !important;
    font-size: 13px; /* Smaller font to fit the box */
    text-decoration: none;
    font-family: 'bpg_caps', sans-serif;
    line-height: 1.2;
}

/* Hover State */
.news-container li:hover .newsflash-title {
    background-color: #8f6cef;
}
/*****************************/
#newsrss ul{
  list-style: none;
  padding: 0;
 /* opacity: 0;*/
  transition: opacity 0.5s ease-in;
  display: inline-block;
  width: 1000px;
  margin-bottom: 20px;
  padding:10px;
  color: #005888;
  font-family: PT_Sans; 
}

#newsrss img{
  float: right;
  width: 250px;
}

#newsrss .feed-link a{
  text-decoration:none;
  color: #005888;
  font-size: 22px;
 }

#newsrss .feed-item-description {
  color: #005888;
  font-size: 16px;
  height:20px;
  margin-top: 10px;
  margin-bottom: 40px;
 }

#newsrss .feed-item-image {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 40%;
}
/*#newsrss li a {
  text-decoration:none;
  color: #005888;
  font-size: 22px;
}

#newsrss a {
  text-decoration:none;
  color: #005888;
  font-size: 22px;
}
*/

.js-scroll {
  opacity: 0;
  transition: opacity 500ms;
}
 
.js-scroll.scrolled {
  opacity: 1;
}

/*------------*/
/*  news  */
.items-leading {
  padding: 15px 5px 5px 5px;

}
.items-leading::before {
  content: " ";
  height: 40px;
  width: 40px;
  position: absolute;
  top: -20px;
  z-index: 1;
  right: 46%;
  /*background-image: url("/images/background/stick.png");*/
 }

.items-row { margin-top: 5px; margin-bottom: 5px; padding: 5px;}
.item-separator {
  border-bottom: 1px solid #D3D3D3;
  margin: 0 auto;
  width: 100px;
  height: 1px;
  position: relative;
}
.items-more {display: none;}
/*-------------------------------------*/

.center {
  display: table;
  margin: 0 auto;
  position: relative;
}

.login-fields {position: relative; padding-top: 10px;}


#banner {padding-top:10px; padding-bottom: 5px; border-top: 4px solid #A52A2A; font-size: 120%; display: table; width: 100%; }
div.banners { width: 100%; }
div.cell { width: 132px; height: 40px; /*width: 315px; height: 80px;*/ float: left; display: block; margin: 0px 2px 5px 2px; border: 1px solid #A9A9A9; background-color: #fff;}
div.cell:hover {border: 1px solid #E9967A;
  -webkit-box-shadow: 0px 0px 2px #999;
  -moz-box-shadow: 0px 0px 2px #999;
  box-shadow: 0px 0px 2px #999;}
div.cell img { max-width: 100%; max-height: 100%; margin: 0 auto; display: table; position: relative;}

div.item-page table img { max-width: 100%; max-height: 100%; margin: 0 auto; display: table; position: relative;}

/*-------------------
---- Image Modal
---------------------*/
#ModalImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
    -webkit-box-shadow: 0px 0px 5px #999;
  -moz-box-shadow: 0px 0px 5px #999;
  box-shadow: 0px 0px 5px #999;
}

#ModalImg: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: 80%;
    max-width: 900px;
}

/* Caption of Modal Image */
#modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #modal-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;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
/*--------------------*/

/***************/
#slideshow-container * {box-sizing:border-box}
#slideshow-container a:hover {text-decoration: none;}
/* Slideshow container */
#slideshow-container {
  width: 100%;
  position: relative;
  /*margin: 20px;*/
}

/* Hide the images by default */
#slideshow-container .slides {
  display: none;
}

/* Next & previous buttons */
#slideshow-container .prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
#slideshow-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
#slideshow-container .prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
#slideshow-container .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
#slideshow-container .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
#slideshow-dots .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

#slideshow-dots .active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
#slideshow-container .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {clip-path: circle(40% at 1000px 300px);}
  to {clip-path: circle(110% at 1000px 300px);}
}
/****************/



/*---------------------
----  Timeline
----------------------*/

/* The actual timeline (the vertical ruler) */
.timeline {
    box-sizing: border-box;
    position: relative;
    max-width: 1200px;
    /*margin: 0 auto;*/
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  -webkit-box-shadow: 0px 1px 5px #999;
  -moz-box-shadow: 0px 1px 5px #999;
  box-shadow: 0px 1px 5px #999;
}

/* Container around content */
.timeline-container {
    box-sizing: border-box;
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    -webkit-box-shadow: 0px 1px 5px #999;
  -moz-box-shadow: 0px 1px 5px #999;
  box-shadow: 0px 1px 5px #999;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f1f1f1;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f1f1f1 transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.timeline-content {
    box-sizing: border-box;
    padding: 20px 30px;
    background-color: #f1f1f1;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media all and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }
  
  /* Full-width containers */
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .timeline-container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}
/*--------------------*/
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2e455c;
  overflow: hidden;
  width: 100%;
  height: 100px;
  transition: .5s ease;
}

#overlay-container {
  position: relative;
  width: 48%;
  height: 265px;
  float: left;
  margin: 5px 5px 5px 5px;
  background-color: #000000;
}

#overlay-container img {
  display: block;
  height: auto;
  max-width: 100%; max-height: 100%; 
}
 
#overlay-container .text {
  color: white;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#overlay-container:hover .overlay {
  height: 0%;
}


/*---------------------*/


.delayed-appear {
  opacity: 0;
  animation: delayed-appear-animation 1s ease-in-out forwards;
}

@keyframes delayed-appear-animation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


a {color:#005888;text-decoration:none; transition: .5s ease;}
a:hover {text-decoration:none; color: #c34c04;  }




/* Footer */ 

#footer {
padding:15px;
display: table;
margin: 0 auto;
min-width: 1032px;
position: relative;
color: #fff;
}
#footer a {color: #f0f0f0;}

.counter {
  background:    #F0F8FF;
  border-radius: 2%;
  -moz-border-radius: 2%;
  -webkit-border-radius: 2%;
  width: 120px;
  margin: 10px;
  float: right;
}


.copy  {
  display:block;
  font-size:95%;
  text-align: left;
  float: left;
}
.scroll {
float:right; font-size:16px;
}

.webmail {
  background: #fff;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  height: 24px;
  width: 24px;
  float: right;
}
.webmail:hover {
  background:#A52A2A ;
}
.webmail img { width: 18px; margin: 6px 3px 7px 3px; display: table; position: relative;}
                  


.showup{
  transform: translate(0px,0px);
  animation-name: showup;
  animation-duration: 0.8s;
  opacity: 1;
}
@keyframes showup {
  from {opacity: 0; transform: translate(0px,26px);}
  to {opacity: 1; transform: translate(0px,0px);}
}

@font-face {
    font-family: mtavruli;
    src: url(/images/fonts/bpg_nino_mtavruli_normal.otf);
    font-weight: 400;
}

@font-face {
    font-family: bpg_arial;
    src: url(/images/fonts/bpg_arial_2009.ttf);
    font-weight: 400;
}

@font-face {
    font-family: bpg_caps;
    text-transform: uppercase;
    src: url(/images/fonts/bpg-web-001-caps-webfont.woff)
}

@font-face {
    font-family: PT_Sans;
    src: url(/images/fonts/PTSans-Regular.ttf);
    font-weight: 400;
}
