@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&subset=hebrew');

html {
  min-height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
body {
  direction: rtl;
  font-family: 'Rubik', Arial, sans-serif;
  position: relative;
  height: 100%;
  min-height: 100%;
  min-height: 100vh;
}
.hidden {
  display: none;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

.container {
  max-width: 960px;
  margin: 0 auto;
}
header #logo {
  text-align: center;
}
.gsk-logo {
    max-width: 105px;
}
h1 {
  color: #a2012b;
  font-weight: 400;
  text-align: center;
}
h1, h2, h3, p {
  margin: 6px 0;
}
.blue-strip {
  background: #a2012b;
  color: #FFF;
}
.red-strip {
  background: #E62E25;
  color: #FFF;
  font-size: 1.3em;
}
ul.choose-language {
  padding: 0;
  margin: 0;
  display: block;
}
.choose-language-label,
ul.choose-language li {
  padding: 0;
  margin: 0;
  display: block;
  text-align: center;
  padding: 10px 0;
}
ul.choose-language li.active {
  background: #DBDBDB;
  color: #a2012b;
}
.footer-notes p,.footer-notes a {
  text-align: center;
  color: #777777;
  font-size: 12px;
  text-decoration: none;
}
header,
section,
footer {
  margin: 15px 0;
}
header {
  margin-top: 0;
  padding-top: 15px;
}
footer {
  margin-bottom: 0;
}

section.content aside .wrapper,
section.content article .wrapper {
  border: 10px solid #DBDBDB;
  margin: 0 10px;
}
aside h2,
footer h2 {
  margin: 0;
  padding: 6px 10px;
  font-weight: 400;
  text-align: center;
}
aside img {
  display: block;
 margin: 43px auto;
    max-width: 93%;
}
.footer-notes {
  margin: 20px 0;
}
/*
.popup-content h2 {
  text-align: left;
}
*/
.popup-logo {
  text-align: center;
}
.popup-form {
  margin: 20px 0;
  padding: 10px 0;
  border: 1px solid #777;
  border-width: 1px 0;
}
.popup-content-text .wrapper {
  padding: 0 10px;
}
.popup-content-text p {
  margin: 1em 0;
}

.popup-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s ease-out;
}
.popup-container.active {
  opacity: 1;
}
.popup-mask {
  background: rgba(0,0,0,1);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.popup-content {
  background: #FFF;
  position: absolute;
  top: 100px;
  right: 10px;
  bottom: -20px;
  left: 10px;
  /*height: 800px;*/
  width: 90%;
  margin: auto;
  padding: 10px;
  transition: all .2s ease-out;
  overflow-y: auto;
}
.popup-container.active .popup-content {
  top: 10px;
  bottom: 10px;
}

.group-list-wrapper {
  position: relative;
  height: calc(100% - 39px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.group-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: block;
}
.group-list li {
  margin: 0;
  padding: 10px;
  display: block;
  box-sizing: border-box;
}
.group-list li p {
  text-align: center;
}
/* aside .images img, */
.group-list li img {
  max-width: 50%;
  display: block;
  margin: 0 auto;
}
.group-list li a {
  border: 4px solid #999;
  border-radius: 5px;
  display: block;
  padding-bottom: 4px;
}
.group-list li a[href="#relvar"] {
  border-color: #6d95a5;
}
.group-list li a[href="#anoro"] {
  border-color: #993457;
}
.group-list li a[href="#incruse"] {
  border-color: #5da580;
}

aside .images {
  max-height: 394px;
  overflow-y: hidden;
}

@media screen and (min-width: 1024px){
  header #logo {
    float:right;
    width: 16.67%
  }
  header #title {
       margin: 0 auto;
    float: none;
    padding-top: 20px;
    width: 83.33%
  }

  section.content aside,
  section.content article {
    float: right;
  }
  section.content aside {
    width: 33.33%;
  }
  section.content article {
    width: 66.67%;
  }
  section.content article .wrapper {
    background: #000;
    min-height: 433px;
    position: relative;
  }
  div#my-video {
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
  }

  ul.choose-language {
    width: 70%;
    float: right;
  }
  .choose-language-label,
  ul.choose-language li {
    width: 25%;
    float: right;
    cursor: pointer;
  }
  .choose-language-label {
    width: 30%;
  }
  .popup-logo,
  .popup-content-text {
    float: right;
  }
  .popup-logo{
    width: 20%;
  }
  .popup-content-text {
    width: 80%;
  }
  .popup-content {
    top: 300px;
    right: 50px;
    bottom: -200px;
    left: 50px;
    height: 600px;
    width: 750px;
    padding: 30px;
    border: 10px solid #aaa;
  }
  .popup-container.active .popup-content {
    top: 50px;
    bottom: 50px;
  }
  .popup-wide {
    width: 720px;
  }
  .group-list li {
    width: 33.33%;
    float: right;
  }
  .group-list li img {
    max-width: 100%;
  }
}




@media screen and (max-width: 767px){
	aside .images {
		max-height: 100%;
	}
	aside img {
		margin: 57px auto;
	}

	section.content aside .wrapper {
		margin: 15px 15px;
	}
}



.footer-disc-text a,
.footer-disc-text {
    font-size: 12px;
    color: #242323;
    line-height: 1.2;
    text-align: center;
    padding-top: 5px;
    color: #777777;
}

    .footer-disc-text.last {
        font-size: 11px;
    }

.pi_btn {
    border: 1px solid #a2012b;
    color: #a2012b;
    padding: 4px;
    background-color: #fff;
    text-align: center;
    width: 190px;
    margin: 0 auto;
    margin-bottom: 20px;
}

    .pi_btn a {
        color: #a2012b;
        font-size: 13px;
    }

