@font-face {font-family: "DIN Next";
  src: url("fonts/dinnext/dinnext.eot"); /* IE9*/
  src: url("fonts/dinnext/dinnext.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("fonts/dinnext/dinnext.woff2") format("woff2"), /* chrome、firefox */
  url("fonts/dinnext/dinnext.woff") format("woff"), /* chrome、firefox */
  url("fonts/dinnext/dinnext.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("fonts/dinnext/dinnext.svg#DIN Next LT W23 Regular") format("svg"); /* iOS 4.1- */
}
body{
  font-family: 'DIN Next', sans-serif !important;
  direction:rtl;
}
img {
	max-width: 100%;
	height: auto;
}

.home-header {
	background: #efaf1d;
    padding: 5% 0;
    text-align: center;
    font-size: 2rem;
}
.search-header {
	color: #222;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 5% 5% 0;
}
.search-header p {
	background-image: -webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff0af),color-stop(10%,transparent));
    background-image: -webkit-linear-gradient(bottom,#fff0af 30%,transparent 10%);
    background-image: linear-gradient(0deg,#fff0af 30%,transparent 10%);
    display: inline;
    line-height: 1.1;
}

.home-links {
    display: table;
    width: 70%;
    margin: 0 auto 70px;
}
.home-links ul {
	list-style: none;
    display: table-row;
}
.home-links li {
	text-align: center;
    display: table-cell;
    padding: 20px;
    width: 30%;
}
.home-links a {
	position: relative;
	display: block;
    margin: 2%;
    background: #efaf1d;
    height: 200px;
    line-height: 200px;
    color: #222;
    font-size: 2rem;
    padding: 0 20px;
}
.home-links a:hover {
	text-decoration: none;
	color: #fff;
}
.home-links i {
    display: block;
    position: absolute;
    right: 50%;
    margin-right: -45px;
    margin-top: -45px;
    height: 90px;
    width: 90px;
    border-radius: 50px;
    background: #222222;
    color: #ffcf00;
    font-size: 4rem;
    line-height: 90px;
}
.home-links a:hover i {
	color: #fff;
}
.home-links span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    padding-top: 83px;
    height: 190px;
}
.home-footer {
	background: #222222;
    text-align: center;
    color: #9e9e9e;
    padding: 5%;
    font-size: 1.7rem;
}
/* -------------------------------------------------------------------------------- */
/*	Google Search
/* -------------------------------------------------------------------------------- */
.g-search {
	padding: 5% 20%;
}
.gsc-input-box {
    border: 2px solid #ececec !important;
    background: #fff !important;
    border-radius: 30px !important;
}

.gsc-search-button-v2, .gsc-search-button-v2:hover, .gsc-search-button-v2:focus {
	border-color: #efaf1d !important;
    background-color: #efaf1d !important;
    background-image:  -webkit-linear-gradient(top,#efaf1d,#efaf1d) !important;
    border-radius: 50px  !important;
    height: 50px  !important;
    width: 50px  !important;

}
.cse .gsc-search-button-v2, .gsc-search-button-v2 {
	padding: 6px 10px !important;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
	padding-right: 0 !important;
	height: 45px !important;
	background-color: transparent !important;
}
.cse .gsc-control-cse, .gsc-control-cse {
	padding-left: 0 !important;
    padding-right: 0 !important;
}
#gsc-i-id2 {
	border: 2px solid #eee !important;
	line-height: 24px !important;
    height: auto !important;
}
#gsc-iw-id2 {
	border: none !important;
}


@media (max-width: 1080px)  {
	.g-search {
	    padding: 5%;
	}
	.home-links {
	    width: 90%;
	}
}

@media (max-width: 768px)  {
	.home-description {
		padding: 0 20px;
	}
	.home-links li {
		width: 100%;
    	display: block;
    	margin: 0 auto;
	}
	.home-links a {
		height: 120px;
    	line-height: 120px
	} 
	.home-links i {
		font-size: 2.5rem;
		margin-right: -25px;
	    margin-top: -25px;
	    height: 50px;
	    width: 50px;
	    line-height: 50px;
	}
	.home-links span {
	    padding-top: 48px;
	    height: auto;
	}
}

@media (max-width: 500px)  {
	.home-header {
		padding: 30px 20px;
	}
	.search-header {
		font-size: 2rem;
		padding: 20px;
	}
	.home-links {
		margin-bottom: 40px;
	} 
	.home-links span {
		padding: 40px 0;
	}
	.home-links a {
		height: auto;
	} 
 }