html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Rubik';
}

.wrapper {
	width: 90%;
	margin: 0 auto;
}

.contact-top {
	background-color: rgba(0, 128, 0, 0.63);
	padding-bottom: 1px;
}

.contact-top ul li {
	margin-top: 10px;
	display: inline-block;
	list-style: none;
  float: right;
  padding-right: 10px;
  padding-left: 10px; 
}

.contact-top ul li a{
	color: white;
	font-size: 15px;
  float: right;
}

a:link {
  text-decoration: none;
  font-size: 20px;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}

nav {
	margin-top: 43px;
	box-shadow: 0px 3px 3px gray;
}

nav li {
  text-align: right;
}

.dropdown-menu {
  float: left;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; // remove the gap so it doesn't close
}

.image-carousel{animation:fading 4s infinite}@keyframes fading{0%{opacity:0}25%{opacity:1}75%{opacity: 1}100%{opacity: 0}}

.image-carousel-run {
	width:100%;
	height:400px;
}

.image-carousel-style {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.divtextonimage {
	background-color: rgba(255, 255, 255, 0.67);
	text-align: center;
  position: absolute;
 	margin: auto;
    top: 0px;
    left:0;
    right:0;
    bottom:0;
   	height:100px;
}
.textonimage {
	font-size: 50px;
	margin-top: 15px;
  color: black;
}

/*
	animation a line
*/
*, *:after, *:before {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
* {margin:0;padding:0;border:0 none;position: relative; outline: none;
}

.a-line {
	font-size: 20px;
	padding-top:60px;
}

.a-line:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: green;
  visibility: hidden;
  border-radius: 5px;
  transform: scaleX(0);
  transition: .25s linear;
}
.a-line:hover:before,
.a-line:focus:before {
  visibility: visible;
  transform: scaleX(1);
}

@keyframes hover-v {
  0% {
      transform: scaleX(0);
      height: 5px;
     }
  45% {   
      transform: scaleX(1.05);
      height: 5px;
     }
  55% {height: 5px;}
  100% {
      transform: scaleX(1.05);
      height: 3.8rem;
     }
}
@keyframes no-hover-v {
  0% {
      transform: scaleX(1.05);
      height: 3.8rem;
     }
  45% {height: 5px;}
  55% {   
      transform: scaleX(1.05);
      height: 5px;
      opacity: 1;
     }
  
  100% {
      transform: scaleX(0);
      height: 5px;
      opacity: .02;
     }
}

.skills {
	background-color: rgb(94, 175, 94);
	width: 100%;
	min-height: 240px;
	padding: 20px;
	padding: 20px;
}

.skills img {
  width:100%;
  height:200px;
}

.skills .image-left {
  position:relative;animation:animateleft 1s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}
}

.skills .image-right {
  position:relative;animation:animateright 1s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}
}

.skills .image-bottom {
  position:relative;animation:animatebottom 1s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}
}

.recommend {
  background-image: url("../image/grass.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
	width: 100%;
	padding: 20px;
	max-height: 240px;
}

.recommend-text {
	color: black;
  text-shadow: 0px 0px 10px white;
}

.recommend-name {
	color: white;
  text-shadow: 0px 0px 10px white;
}

.explanation {
  direction: rtl;
  background-color: rgba(128, 128, 128, 0.19);
  /*padding: 10px;*/
}

.explanation img {
  width:100%;
  padding-top:20px;
}

.contact-button {
	padding: 10px;
}

.contact-button .btn {
  padding: 16px 32px;
  text-align: center;
  display: inline-block;
  width: 40%;
  font-size: 20px;
  margin: 4px 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: white; 
  color: green; 
}

.contact-button .btn:hover {
    background-color: rgba(255, 255, 255, 0.67);
}

.percentlist {
  background-image: url("../image/skill1.png");
  min-height: 700px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.percent {
  direction: rtl;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.67);
  text-align: center;
  margin: auto;
    top: 80px;
    left: 0;
    right: 0;
    bottom:0;
    height: 100%;
}

.percent-mobile {
  direction: rtl;
  margin: 0 auto;
  padding-top: 10px; 
  background-color: rgba(255, 255, 255, 0.67);
  text-align: center;
  margin: auto;
    top: 80px;
    left: 0;
    right: 0;
    bottom:0;
    height: 100%;
}

.percentlist .count {
  font-size: 25px;
}

.percentlist .textpercent {
  font-size: 30px;
}

.checklist {
  background-image: url("../image/skill1.png");
  min-height: 550px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.list {
	direction: rtl;
	width: 45%;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.67);
  text-align: center;
 	margin: auto;
    top: 100px;
    left: 0;
    right: 0;
    bottom:0;
   	height: auto;
   	border-bottom: 6px solid green;
}

.list ul h2 {
	text-align: center;
}

.list ul li {
	margin-top: 10px;
	list-style: none;
	font-size:20px;
}

.bottom {
	direction: rtl;
	width: 100%;
}

.bottom .contact {
	background-color: rgb(94, 175, 94);
	color: white;
	text-align: center;
	padding: 20px;
}

.bottom .credit {
	background-color: black;
	color: white;
	padding: 20px;
}

.bottom .credit .copyright {
	float: right;
}

.bottom .credit .builder {
	float: left;
}

.bottom .credit .copyright-mobile {
  text-align: center;
}

.bottom .credit .builder-mobile {
  text-align: center;
}

.page {
  direction: rtl;
  background-color: white;
  padding: 20px;
}

.page .images img {
  width:100%;
  padding-top:20px;
}

.page .images {
  padding-bottom: 20px;
}

.page form {
  margin-top: 20px;
}
.contact-list {
  text-align: center;
}

.contact-list ul li {
  margin-top: 10px;
  list-style: none;
}

.contact-list ul li a{
  font-size: 25px;
  color: green;
}

/*******gallery ********/

.imageTab {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.imageTab:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* 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: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #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%;
    }
}

.sizeimg {
    position: relative;
    /*width: 50%;*/
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: 250px;
  padding-bottom: 20px;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.sizeimg:hover .image {
  opacity: 0.3;
}

.sizeimg:hover .middle {
  opacity: 1;
}

.text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

/******* form ********/
.form {
  margin:10px auto;
}
.form li {
  padding: 0;
  display: block;
  list-style: none;
  margin: 10px 0 0 0;
}
.form  label{
  margin:0 0 3px 0;
  padding:0px;
  display:block;
  font-weight: bold;
}
.form input[type=text], 
.form input[type=date],
.form input[type=datetime],
.form input[type=number],
.form input[type=search],
.form input[type=time],
.form input[type=url],
.form input[type=email],
textarea, 
select{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #BEBEBE;
    padding: 7px;
    margin:0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;  
}
.form input[type=text]:focus, 
.form input[type=date]:focus,
.form input[type=datetime]:focus,
.form input[type=number]:focus,
.form input[type=search]:focus,
.form input[type=time]:focus,
.form input[type=url]:focus,
.form input[type=email]:focus,
.form textarea:focus, 
.form select:focus{
    -moz-box-shadow: 0 0 8px rgba(94, 175, 94, 0.71);
    -webkit-box-shadow: 0 0 8px rgba(94, 175, 94, 0.71);
    box-shadow: 0 0 8px rgba(94, 175, 94, 0.71);
    border: 1px solid rgba(94, 175, 94, 0.71);
}
.form .field-divided{
    width: 100%;
}

.form .field-long{
    width: 100%;
}
.form .field-textarea{
    height: 100px;
}
.form input[type=submit], .form input[type=button]{
    background: rgba(94, 175, 94, 0.71);
    padding: 8px 15px 8px 15px;
    border: none;
    color: #fff;
    width: 100%;
}
.form input[type=submit]:hover, .form input[type=button]:hover{
    background: rgba(94, 175, 94, 0.90);
    box-shadow:none;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
}
.form .required{
    color:red;
}