html, body {
    direction: rtl !important;
    background-color: #028053 !important;
  }

#header {
  background-color: #e6e6e6;
  height: 4vw;
  -webkit-box-shadow: 0px 6px 0px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 6px 0px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 6px 0px 0px rgba(0,0,0,0.3);  
  z-index: 500;
  position: relative;
}

#logoHeader {
    background-image: url(pics/logo4.png);
    background-size: 100%;
    background-repeat: no-repeat;
    height: 100%;
    position: relative;
    background-position-y: 45%;
    margin-right: 2%;
    width: 10.5vw;
}

#logoHeader button {
  background-color: transparent;
  height: 4vw;
  width: 12.5vw;
  border: none;
  margin-right: -10%;
  cursor: pointer;
  outline: none;
}

#cover {
    background-image: url(pics/cover5.png);
    background-size: 101%;
    background-repeat: no-repeat;
    height: 60vw;
    width: auto;
    background-position-y: 100%;
    position: relative;
    max-height: 36vw !important;
    -webkit-box-shadow: inset 0px 8px 0px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0px 8px 0px 0px rgba(0,0,0,0.3);
    box-shadow: inset 0px 8px 0px 0px rgba(0,0,0,0.3);
    z-index: 0;
    margin-top: -8vw;
}

h1 {
  color: #ffffff;
  font-weight: lighter;
  padding-top: 15%;
  margin-right: 5%;
  display: block;
  float: right;
  font-size: 5vw;
  text-align: right;
}

h2 {
  color: #ffffff;
  font-weight: lighter;
  padding-top: 1%;
  margin-right: 5%;
  display: block;
  float: right;
  font-size: 4vw;
  text-align: right;
}

h5 {
  color: #ffffff;
  font-weight: 400;
  font-size: 1.5vw;
}

.tab {
  overflow: hidden;
  /* border: 1px solid #ccc; */
  background-color: #006c43;
  height: 9%;
  max-height: 15%;
  width: 25%;
  bottom: 0;
  right: 0;
}

.tablink {
    width: 50%;
}

.tab button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  padding-top: 2%;
  padding-bottom: 6%;
  transition: 0.3s;
  width: 50%;
  color: #ffffff;
  font-weight: 500;
}

.tab .tablinks2 button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  padding-top: 2%;
  padding-bottom: 6%;
  transition: 0.3s;
  width: 50%;
  color: #ffffff;
}

.tab button:hover {
  background-color: #028053;
}

.tab button.active {
  background-color: #F07025;
  font-weight: 700 !important;  
}

.tab button.active h5 {
  font-weight: 700 !important;  
}

.tabcontent {
  display: none;
  text-align: right;
  animation: fadeEffect 1s; 
}

#tab1links {
  height: 15vw !important;
  max-height: 15vw;
  width: 100%;
  background-image: url(pics/bg2.png);
  background-size: 101%;
  background-repeat: no-repeat;
  -webkit-box-shadow: 0px 6px 0px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 6px 0px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 6px 0px 0px rgba(0,0,0,0.3);  
  position: relative;
}

#tab1links li {
  list-style: none;
  width: 19%;
  display: inline-block;
  margin-top: 0.5%;
}

#mainTabs {
  position: absolute;
}

.imglink {
  height: 7vw;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transition: 0.3s;
}

.imglink:hover {
  transform: scale(1.05);
}

#tab1 li button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
  width: 100%;
  color: #ffffff;
  font-size: 0.8vw;
}

#tab1 button p {
  display: block;
  color: #ffffff;
  font-size: 1vw;
  text-align: center;
  margin: 2% 0;
  font-weight: bold;  
}

ul {
  margin-bottom: 0;
}

hr {
  border: 1px dashed white;
  margin: 3% 0;
  padding: 0;
  width: 100.4%;  
}

strong {
  font-weight: 700;
}

/*סיפורי עובדים*/

#mainPage {
  text-align: right;
  margin-top: 0vw;
  display: grid;
}

.worker {
  display: inline-block;
}

.workerImg {
  height: 10vw;
  width: 10vw;
  display: inline-block;
}

.workerButton {
  background-color: #F07025;
  border: none;
  border-radius: 10px;
  padding: 3% 15%;
  color: #ffffff;
  transition: all 0.3s ease 0s;
  font-weight: bold;
}

.workerButton:hover {
  background-color: #E5611F;
  box-shadow: inset 0 0 0 5px #D34E0B;
  transform: scale(1.02);
}

.info {
  display: inline-block;
  margin-right: 6%;
  color: #ffffff;
  position: absolute;
  margin-top: -1.7%;
}

.info h3 {
  font-size: 2.5vw;
}

.info p {
  font-size: 1.4vw;
}

#ariel {
  margin-right: 45%;
  margin-top: -6%;
}

#noam {
  margin-right: 45%;
  margin-top: 6%;
}

#moshe {
  margin-right: 45%;
  margin-top: 6%;
}

#eran {
  margin-right: 45%;
  margin-top: 6%;
}

/*קורס הכשרה*/

#hachshara {
  margin-top: -5vw;
  text-align: right;
}

.inside {
  display: inline-block;
  margin-right: 30%;
  color: #ffffff;
  position: absolute;
  margin-top: 2%;
  padding-bottom: 2%;
}

.inside h3 {
  font-size: 2.5vw;
}

.inside p {
  font-size: 1.4vw;
}

/*משקיעים בקריירה*/

#career1 {
  display: block;
  margin-top: -5vw;
}

#career1 #undervideo {
  position: absolute;
  margin-top: 24.5%;
  text-align: center;
  margin-right: 7.9vw;
  color: white;
  width: 8.5vw;
  font-weight: bold;
}

#career1Content {
  background-image: url(pics/bg_new2.png);
  background-size: 101%;
  background-repeat: no-repeat;
  background-position-y: 0%;
  width: 60%;
  height: 85%;
}

#career1Content .inside {
  margin-top: 2vw;
  display: inline-block;
  color: #ffffff;
  text-align: right;
  margin-right: -30%;
  width: 29vw;
}

#career1Content .inside p {
  margin-right: -90%;
}

/* .insideBTN {
  position: absolute;
  display: inline-block;
  height: 8vw;
  width: 8vw;
  margin-top: 18%;
  margin-right: -32%;
  transition: all 0.3s ease 0s;
} */

#career1 .insideBTN {
  position: absolute;
  display: block;
  height: 8vw;
  width: 8vw;
  margin-top: 15.4%;
  margin-right: 8vw;
  transition: all 0.3s ease 0s;
}

.insideBTN:hover {
  transform: scale(1.02);
}

.insideIMG {
  position: absolute;
  display: inline-block;
  height: 8vw;
  width: 8vw;
  margin-top: 18%;
  margin-right: -32%;
}

#links_Career1 {
  margin-top: 3vw;
}

#hat {
  margin-top: 40%;
  transition: all 0.3s ease 0s;
}

#hat:hover {
  transform: scale(1.02);
}

#hat .insideIMG {
  margin-right: -60%;
  margin-top: -30%;
}

/* #hat p {
  margin-right: -71% !important;
  text-align: center;
} */

#hatlink1 {
  margin-right: -20vw;
  transition: all 0.3s ease 0s;
}

#hatlink1:hover {
  transform: scale(1.02);
}

#brieflink1 {
  margin-right: 20vw;
  transition: all 0.3s ease 0s;
}

#brieflink1:hover {
  transform: scale(1.02);
}

#hatlink1 p {
  position: absolute;
  width: 9vw;
  margin-top: 6vw;
  text-align: center;
  color: #fff;
  margin-right: -0.7vw !important;
  text-decoration: none;
}

#brieflink1 p {
  position: absolute;
  width: 9vw;
  margin-top: 6vw;
  text-align: center;
  color: #fff;
  margin-right: -0.3vw !important;
  text-decoration: none;
}

#briefcase {
  margin-top: -17.5%;
  transition: all 0.3s ease 0s;
}

#briefcase .insideIMG {
  margin-right: 20%;
  margin-top: -30%;
}

#briefcase p {
  margin-right: 8% !important;
  text-align: center;
}

#career1things li {
  display: inline-block;
  position: relative;
  margin-top: 4vw;
}

.career1BTN {
  background-color: #F07025;
  border: none;
  border-radius: 10px;
  padding: 4% 16%;
  color: #ffffff;
  transition: all 0.3s ease 0s;
  font-weight: bold;
  margin-right: -61%;
  margin-top: 10%;
  font-size: 1.3vw;
}

.career1BTN:hover {
  background-color: #E5611F;
  box-shadow: inset 0 0 0 5px #D34E0B;
  transform: scale(1.02);
}

/*פיתוח קריירה וניוד*/

#career2 {
  display: block;
  margin-top: -5vw;
}

#career2 #undervideo {
  position: absolute;
  margin-top: 27%;
  text-align: center;
  margin-right: 7.9vw;
  color: white;
  width: 8.5vw;
  font-weight: bold;
}

#career2 #undervideo2 {
  position: absolute;
  margin-top: 43%;
  text-align: center;
  margin-right: 7.9vw;
  color: white;
  width: 8.5vw;
  font-weight: bold;
}

/* .insideBTN {
  position: absolute;
  display: inline-block;
  height: 8vw;
  width: 8vw;
  margin-top: 18%;
  margin-right: -32%;
  transition: all 0.3s ease 0s;
} */

#career2 .insideBTN {
  position: absolute;
  display: block;
  height: 8vw;
  width: 8vw;
  margin-top: 18%;
  margin-right: 8vw;
  transition: all 0.3s ease 0s;
}

.insideBTN:hover {
  transform: scale(1.02);
}

#career2 .insideBTN2 {
  position: absolute;
  display: block;
  height: 8vw;
  width: 8vw;
  margin-top: 34%;
  margin-right: 8vw;
  transition: all 0.3s ease 0s;
}

/* .insideBTN2 {
  position: absolute;
  display: inline-block;
  height: 8vw;
  width: 8vw;
  margin-top: 34%;
  margin-right: -32%;
  transition: all 0.3s ease 0s;
} */

.insideBTN2:hover {
  transform: scale(1.02);
}

/* #career2 #undervideo {
  position: absolute;
  margin-top: 27%;
  text-align: center;
  margin-right: 9%;
  color: white;
  font-weight: bold;
} */

/* #career2 #undervideo2 {
  position: absolute;
  margin-top: 43%;
  text-align: center;
  margin-right: 9%;
  color: white;
  font-weight: bold;
} */

#career2Content {
  width: 60%;
  height: 85%;
}

#career2Content .inside {
  margin-top: 2vw;
  display: inline-block;
  color: #ffffff;
  text-align: right;
  margin-right: -30%;
}

#career2Content .inside p {
  margin-right: -90%;
  display: inline-block;
}

.careerIcon {
  height: 2.9vw;
  width: auto;
  display: inline-block;
  margin-right: -89%;
}

#plane p {
  margin-right: 3% !important;
  width: 150%;
}

#pen p {
  margin-right: 3% !important;
  width: 150%;
}

#pen .careerIcon {
  margin-top: -8%;
}

#stamp p {
  margin-right: 3% !important;
  width: 150%;
}

#stamp .careerIcon {
  margin-top: -8%;
}

#people p {
  margin-right: 3% !important;
  width: 150%;
}

#people .careerIcon {
  margin-top: -1%;
}

#video3 p {
  margin-right: 3% !important;
  width: 150%;
}

#video3 .careerIcon {
  margin-top: -1%;
}

#career2Content h4 {
  margin-right: -30%;
}

/*אפשרויות קריירה*/

#careerLinks1 {
  height: 17vw !important;
  max-height: 17vw;
  width: 255.9%;
  margin-right: -156%;
  position: relative;
  margin-top: -0.9%;
}

#careerLinks1 li {
  list-style: none;
  width: 7.2%;
  height: 12.4%;
  display: inline-block;
}

#careerLinks2 {
  height: 9vw !important;
  max-height: 18vw;
  width: 255.9%;
  margin-right: -156%;
  position: relative;
  margin-top: -13.5%;
}

#careerLinks2 li {
  list-style: none;
  width: 7.2%;
  height: 12.4%;
  display: inline-block;
}

#careerLinks2 a p {
  color: #ffffff;
  padding: 2%;
}

#careerLinks2 a p:hover {
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

#careerOptions li button {
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
  width: 103%;
  color: #ffffff;
  font-size: 1.2vw;
  height: 9vw;
}

.light {
  background-color: #28A374 !important;
}

.dark {
  background-color: #028053 !important;
}

button.dark2 {
  background-color: #F07025 !important;
  box-shadow: inset 0 0 0 10px #D34E0B;
  font-size: 1.2vw;
  transition: all 2s ease;
}

button.dark2:hover {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 10px #D34E0B;
}

#careerOptions {
  margin-top: 56vw;
}

#careerOptions h2 {
  margin-right: -67%;
  width: 167%;
  display: block;
  float: none;
  text-align: center;
  height: 19%;
  background-color: #028053;
  border-bottom: 8px solid rgba(0,0,0,0.3);
  border-top: 8px solid rgba(0,0,0,0.3);
  border-style: outset;
  border-left: none;
  border-right: none;
}

.careerActive {
  background-color: #F07025 !important;
}

.options {
  background-color: #ffffff !important;
  width: 168%;
  margin-right: -68%;
  text-align: right;
  padding-right: 8%;
  padding-bottom: 5%;
}

.options h5 {
  color: #028053;
  font-weight: 700;
}

.options h3 {
  color: #028053;
  font-weight: 700;
}

#smallTxt2 {
  font-size: 0.8vw;
}


/*מסלול התמחות*/

#professional {
  display: block;
  margin-top: -5vw;
}

#professional #undervideo {
  position: absolute;
  margin-top: 27%;
  text-align: center;
  margin-right: 7.9vw;
  color: white;
  width: 8.5vw;
}

/* #professional #undervideo2 {
  position: absolute;
  margin-top: 30.5%;
  text-align: center;
  margin-right: 8%;
  color: white;
  font-weight: normal;
} */

#professionalContent {
  background-image: url(pics/bg_new3.png);
  background-size: 120%;
  background-repeat: no-repeat;
  background-position-y: 3%;
  width: 60%;
  height: 100%;
}

#professionalContent .inside {
  margin-top: 2vw;
  display: inline-block;
  color: #ffffff;
  text-align: right;
  margin-right: -30%;
}

#professionalContent .inside p {
  margin-right: -90%;
}

#professional .insideBTN {
  position: absolute;
  display: block;
  height: 8vw;
  width: 8vw;
  margin-top: 18%;
  margin-right: 8vw;
  transition: all 0.3s ease 0s;
}

.insideBTN:hover {
  transform: scale(1.02);
}

#professional ul {
  margin-right: -90%;
  list-style-image: url(pics/bullet1.png);
}

#professional ul li{
  padding-bottom: 1%;
  font-size: 1.2vw;
}

#professional ul li a{
  color: #ffffff;
  text-decoration: underline;
}

#smallTxt {
  font-size: 1.2vw;
  margin-right: -90% !important;
  margin-top: 2%;
}

#tinyTxt {
  font-size: 0.9vw;
}


/*פיתוח קריירה וניוד*/

#tips {
  display: block;
  margin-top: -5vw;
}

#tipsContent {
  background-image: url(pics/bg_new4.png);
  background-size: 240%;
  background-repeat: no-repeat;
  background-position-y: 3%;
  background-position-x: 50%;
  width: 60%;
  height: 202%;
}

#tips #undervideo {
  position: absolute;
  margin-top: 27%;
  text-align: center;
  margin-right: 9%;
  color: white;
  font-weight: bold;
}

#tips #undervideo2 {
  position: absolute;
  margin-top: 43%;
  text-align: center;
  margin-right: 9%;
  color: white;
  font-weight: bold;
}

#tipsContent .inside {
  margin-top: 2vw;
  display: inline-block;
  color: #ffffff;
  text-align: right;
  margin-right: -30%;
}

#tipsContent .inside p {
  margin-right: -90%;
  display: inline-block;
}

.plainBTN {
  background-color: #F07025;
  border: none;
  border-radius: 30px;
  padding: 2%;
  color: #ffffff;
  font-weight: bold;
  width: 23%;
  position: absolute;
  margin-top: 20%;
  margin-right: -35%;
  font-size: 1.6vw;
  text-align: center;
}

.profIcon {
  height: 5vw;
  width: auto;
  display: inline-block;
  margin-right: -89%;
}

#steps p {
  margin-right: 5% !important;
  width: 160%;
}

#steps .profIcon {
  margin-top: -43%;
}

#shield p {
  margin-right: 5% !important;
  width: 160%;
}

#shield .profIcon {
  margin-top: -43%;
}

#thumb p {
  margin-right: 5% !important;
  width: 160%;
}

#thumb .profIcon {
  margin-top: -43%;
}

#flag p {
  margin-right: 5% !important;
  width: 160%;
}

#flag .profIcon {
  margin-top: -43%;
}

#brief p {
  margin-right: 5% !important;
  width: 160%;
}

#brief .profIcon {
  margin-top: -43%;
}

#puzzle p {
  margin-right: 5% !important;
  width: 160%;
}

#puzzle .profIcon {
  margin-top: -55%;
}

#clock p {
  margin-right: 5% !important;
  width: 160%;
}

#clock .profIcon {
  margin-top: -28%;
}

/*תפעול*/

#operationContent .inside {
  margin-right: 15%;
}



/*פופאפ ראינות*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
  z-index: 5;
}

.popup {
  margin: 70px auto;
  padding: 1% 2% 1% 3%;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 2s ease-in-out;
  height: 80%;
  overflow: auto;
}

.popup h4 {
  margin-top: 3%;
  color: #028053;
}

.popup p {
  margin-top: 0;
  color: #000000;
  font-size: 1vw;
}

.button {
  color: #ffffff;
}

.button:hover {
  color: #ffffff;
  text-decoration: none;
}

.popup .close {
  position: sticky;
  top: 0;
  margin-right: 101%;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

/* width */
.popup::-webkit-scrollbar {
  width: 12px;
  float: right;
}

/* Track */
.popup::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.popup::-webkit-scrollbar-thumb {
  background: #028053;
}

/* Handle on hover */
.popup::-webkit-scrollbar-thumb:hover {
  background: #006c43;
}
