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

html {
  min-height: 100%;
  min-height: 100vh;
}
body {
    direction: rtl;
    font-family: 'Rubik', Arial, sans-serif;
    position: relative;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}
.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: #3CB371;
    font-weight: 400;
    text-align: center;
}
h1, h2, h3, p {
  margin: 6px 0;
}
.blue-strip {
  background: #3CB371;
  color: #FFF;
}
.red-strip {
  background: #E62E25;
  color: #FFF;
}
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: #3CB371;
  font-weight: bold;
}
.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: 49px auto;
    max-width: 90%;
    margin-bottom:0;
}
.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-2,*/
.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-clear,
.popup-mask {
    background: rgba(0,0,0,1);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.popup-mask-clear {
    background: rgba(0,0,0,0.5);
    z-index:9;
    display:none;
}
.popup-mask-clear.active {
    display:block;
}

.popup-outside,
.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: auto;
}

@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-outside,
    .popup-content {
        top: 300px;
        right: 50px;
        bottom: -200px;
        left: 50px;
        height: 600px;
        width: 750px;
        padding: 30px;
        border: 10px solid #aaa;
    }


    .popup-outside {
        height: 250px;
        width: 550px;
        top: 0;
        bottom: 0;
        z-index: 99;
        padding: 40px;
        display:none;
    }
        .popup-outside.active {
            display:block;
        }
        .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 #3CB371;
    color: #3CB371;
    padding: 4px;
    background-color: #fff;
    text-align: center;
    width: 190px;
    margin: 0 auto;
    margin-bottom: 49px;
}

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



@media screen and (min-width: 1024px) {
    .pi_btn {
        /*margin-bottom*/: 0px;
    }
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor:pointer;
}

.popup-title {
    font-size:30px;
    margin-bottom:15px;
}

.popup-text {
    font-size: 24px;
    margin-bottom: 15px;
}

.btn-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 50px;
}

.exit-btn,
.continue-btn {
    background-color: #3CB371;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 40px;
    text-decoration: none;
    border-radius: 25px;
}

@media screen and (max-width: 768px) {
    .popup-outside {
        display: none;
    }

        .popup-outside.active {
            display: block;
            top: 0;
            padding-top: 50px;
            z-index:999;
        }

    /*.popup-mask-clear {
        display: none !important;
    }*/

    .popup-outside {
        border: 5px;
    }
}
   