@import url('https://fonts.googleapis.com/css?family=Cairo&display=swap');
/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #4b2b70;
    font-size: 1em;
    line-height: 1.4;
}

body{
  color: #000;
}

*{
  font-family: 'Cairo', serif;
}

.en{
   font-family: Arial;
   font-weight: bold;
}

.blue-color{
  color:#2d7d86;
}

h1,h2,h3,h4{
  font-family: 'Cairo', serif;
  color: #000;
}

p {
    font-family: 'Cairo', serif;
    margin: 10px 0; 
}

.footer{
    background: #fff;
    border-top: 4px solid #000;
    outline: 4px solid #fff;   
}

.pv-20{
  padding: 20px 0;
}

.pv-10{
  padding: 10px 0;
}

.pv-5{
  padding: 5px 0;
}

.home{

}

.note{
  font-size: 11px;
  color: #512e6f;
}

.p-20{
  padding: 20px;
}

.p-10{
  padding: 10px;
}

.white-bg{
  background:white;
  padding: 15px;
}

.nav-tabs{
  border-bottom: 0px solid transparent;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
    color: #fff;    
    background-color: #4b2b70;   
}

.nav-tabs>li>a {
    color: #fff;    
    background-color: #b3a469;  
}

.nav>li>a:hover, .nav>li>a:focus{
    text-decoration: none;
    background-color: #c2a520;
}

.form-group {
    margin-bottom: 10px;
}

.radio, .checkbox{
  display: inline-block;
}

.radio+.radio, .checkbox+.checkbox {
    margin-top: 10px;
}

form p{
  margin: 10px 0 0 0;
}

label {  
     font-weight: normal; 
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.logo {   
    display: block; 
}

.logo img{
  padding: 10px 0px;
}


.no-padding{
  padding-left: 0px;
  padding-right: 0px;
}

.rtl{
    direction: rtl;
    text-align: right;
}

#video{
  position: relative;
  width: 100%;
  margin-top:30px;  
}

.mfp-hide {
  display: none!important;
}

.white-popup-block {
  background: #FFF;
  padding: 20px 30px;
  text-align: left;
  max-width: 650px;
  margin: 40px auto;
  position: relative;
}

.chair img{
  max-width: 100%;
}

.logo {   
    display: block; 
}

input[type="text"]{
  width: 100%;
  margin-bottom: 7px;
  padding: 4px 8px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  background: #fff;
  color: #000;
  border: none;
  border-top:1px solid #b5a06b ;
  border-left:1px solid #b5a06b ;
  border-right:1px solid #b5a06b ;  
  border-bottom:1px solid #b5a06b;
  direction: rtl;
  font-size: 14px;
}

select{
  width: 100%;
  margin-bottom: 7px;
  padding: 2px 8px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  background: #fff;
  color: #000;
  border: none;
  border-top:1px solid #b5a06b ;
  border-left:1px solid #b5a06b ;
  border-right:1px solid #b5a06b ;  
  border-bottom:1px solid #b5a06b;
  direction: rtl;
  font-size: 14px;
}

.form-container{
    position: relative;  
    margin-top: 30px;  
}

.form{
  padding: 10px 30px;
  border: 1px solid #b5a06b;
}

.form h2{
  font-size: 20px;
  padding: 10px 0;
  margin-top: 0px;
}

#send{
    margin-top:5px;
    background: url('../images/btn.png') no-repeat 50% 50% ;
    width:30%;
    height: 35px;
    outline: none;
    border: none;
    background-color: #b5a06b;
    -webkit-border-radius: 0 ;
    -moz-border-radius:0 ;
    border-radius:0;
}

#send:hover{
   background-color: #caad85;
}
.error{
  border-top:1px solid red !important;
  border-left:1px solid red !important;
  border-right:1px solid red !important;
}

.top-buttons{
  position: relative; 
}

#thanks{
    background: #7a222e;
    height: 414px;
    width: 100%;  
    padding: 10px;
    text-align: center;
    font-size: 16px;
    padding-top: 100px;
    color: #caad85;
    font-family: 'Cairo', sans-serif;
     -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

#thanks a{
  color:#fff;
}

#thanks p{
  color: #c59a55;
}

#loading{
    background:#7a222e ;
    height: 414px;
    width:  100%;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    padding-top: 100px;
    color: #caad85;
    font-family: 'Cairo', sans-serif;
     -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

}

#loading a{
  color:#fff;
}

#loading p{
  color: #c59a55;
}

::-webkit-input-placeholder {
   color: #000;
}

:-moz-placeholder { /* Firefox 18- */
   color: #000;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #000;  
}

:-ms-input-placeholder {  
   color: #000;  
}


a img{
  max-width: 100%;  
}

.btn{
  margin: 0px;
  padding: 5px 20px;
}

.btn:hover{
  background: #f9eb12;
  color: #000;
}

.slogan{
   margin: 0px;
   margin-top: 20px;
   line-height: 24px;
}

.slogan h3{
   line-height: 30px;
}

.slogan img{
  max-width: 100%;  
}

@media (min-width: 1201px){
  
  .logo{    
    text-align: right;
    margin: 15px 0 15px 0;
  }

  .top-buttons{   
    top:40px;
  }


}

@media (min-width: 993px) and (max-width: 1200px){

  .logo{  
    text-align: right;
    margin: 30px 0 30px 0;
  }

  .top-buttons{   
    top:40px;
  }

}

@media (min-width: 768px) and (max-width: 992px){
  
  .logo{
    text-align: center;
     margin: 15px 0 15px 0;
  }

  .top-buttons{   
    top:0px;
  }

}

@media (max-width: 767px) {

  .logo{
    text-align: center;
    margin: 15px 0 15px 0;
  }

  .top-buttons{   
    top:0px;
  }

}

* { box-sizing: border-box; }

h2{
	line-height: 34px;
	font-size: 26px;
}
.note{
	color: #fff;
	font-size: 12px;
	text-align: left;
	padding: 10px 20px;
}

.mapbg{
	background-image: url('../images/map.png'); 
	background-position: 0 0;
	background-size: cover;
	background-repeat: no-repeat;
    border: 0px solid #002b4e;
    height: 750px;
    margin: 0 auto;
}

#nablus{
    left: 462px;
    top: 232px;
	position: relative;
}
#jenin{
    left: 167px;
    top: 157px;
	position: relative;
}
#qalqilya{
    left: 250px;
    top: 273px;
	position: relative;
}
#salfit{
    left: 259px;
    top: 298px;
	position: relative;
}
#ramallah{
    left: 288px;
    top: 302px;
	position: relative;
}
#tulkarm{
    left: 235px;
    top: 233px;
	position: relative;
}
#jerusalem{
    left: 198px;
    top: 408px;
	position: relative;
}
#bethlehem{
	left: 290px;
    top: 346px;
	position: relative;
}
#gaza{
	left: 145px;
    top: 642px;
	position: relative;
}


#hebron{
	left: 266px;
    top: 450px;
	position: relative;
}
#jericho{
    left: 610px;
    top: 253px;
	position: absolute;
}

#tubas{
	left: 450px;
    top: 152px;
	position: absolute;
}

.popup{
	display: none;
	padding: 10px;
	width: 300px;
	height: 400px;
	position: absolute;
	float: left;
	background: rgba(255, 255, 255,0);
	top: -190px;
	left: 38px;
}
.point{
	padding:8px;
	background-image: url('../images/pin.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent;	
	color:#fff;
	border-radius: 0px;
	width: 40px;
	height: 40px;
	border:none;
	outline: none;
}
.point:hover{
	background-image: url('../images/pin.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent;
}
.point.active{
	background-image: url('../images/pin.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent;
}
.contents{
	float:left;
	color: #002b4e;
	font-family: 'Droid Arabic Kufi', serif;
	width: 712px;
	position: relative;
	top: 280px;
	left: 90px;
	font-size:12px;
}
.content{
	width: 100%;
	height: 650px;
	margin: 0px;	
	position: relative;
}
.buttons{
	position: relative;
	left: 224px;
	top: 42px;
}
.buttons ul{
	margin:0;
	list-style: none;
	float:left;
}
.buttons ul li{
	float:left;
	margin:0px;
	margin-right:10px;
}
button{
	cursor: pointer;
}

.btn1:hover{
	width: 240px;
	height: 53px;
	outline:none;
	border:none;
	background: url('images/buttons.png') 0px 0px;
}

.btn2:hover{
	width: 240px;
	height: 53px;
	outline:none;
	border:none;
	background: url('images/buttons.png') 240px 0px;
}


.btn1.active{
	width: 240px;
	height: 53px;
	outline:none;
	border:none;
	background: url('images/buttons.png') 0px 0px;
}

.btn2.active{
	width: 240px;
	height: 53px;
	outline:none;
	border:none;
	background: url('images/buttons.png') 240px 0px;
}

.btn1{
	width: 240px;
	height: 53px;
	outline:none;
	border:none;
	background: url('images/buttons.png') 0px 53px;
}

.btn2{
	width: 240px;
	height: 53px;
	outline:none;
	border:none;
	background: url('images/buttons.png') 240px 53px;
}

.scroll::-webkit-scrollbar {  
    width: 12px; 
    cursor: pointer;  
}  
.scroll::-webkit-scrollbar-track {  
    background-color: #A1A0A5; 
    cursor: pointer;   
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 0px;
}  
.scroll::-webkit-scrollbar-thumb {  
    background-color: #ffce00;
    cursor: pointer; 
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);  
}  
.scroll::-webkit-scrollbar-thumb:hover {  
    background-color: #ffce00; 
    cursor: pointer;    
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}  

.yellow{
	color: #ffce00;
}

.modal-content {   
    background-color: rgba(0,0,0,0.8);  
    color: #fff; 
}

.modal-content h4{
	color: #fff; 
	line-height: 28px;
}

.mb-20{
	margin-bottom: 20px;
}

.p-20{
	padding: 20px;
}

.p-10{
	padding: 10px;
}

.p-0{
	padding: 0px;
}

.loading h2, .loading h3{
	color: #ffce00;
}

#results{
	max-height: 300px;
	overflow-y: auto;	
	overflow-x: hidden;
	padding: 0 0 0 10px;
}

/* HIDE RADIO */
[type=radio] { 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
[type=radio] + img {
  cursor: pointer;
}

/* CHECKED STYLES */
[type=radio]:checked + img {
  outline: 2px solid transparent;
  border: 2px solid #ffce00;
  border-radius: 20px;
}

.close {   
	float: left;
    color: #fff;
    opacity: .8;
    filter: alpha(opacity=80);
}

.icon-img{
	max-width: 100%
}

.btn-primary {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.btn-primary:hover {
    color: #000;
    background-color: #ffce00;
    border-color: #ffce00;
}

.btn-primary:focus {
    color: #000;
    background-color: #ffce00;
    border-color: #ffce00;
}


.bold{
	font-weight: bold;
}

.list-header th{
	background-color: white;
	color: #000;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    vertical-align: middle;  
}



@media (min-width: 768px){
	.modal-dialog {	   
	    margin: 70px auto 30px;
	}
}


/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	.mapbg{
		background-image: url('../images/map_mobile.png'); 
		background-position: 50% 50%;
		background-size: contain;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 450px;
	    margin: 0 auto;
	}

	.logo {
	    text-align: center;
	    margin: 10px 0 10px 0;
	}

	.logo img{
		width: 180px;
	}

	.slogan {
	    margin: 0px;
	    margin-top: 10px;
	    line-height: 18px;
	}
	.slogan h2{
		font-size: 24px;
	}
	.text-left{
		text-align: center;
	}
	.content {
	    width: 100%;
	    height: auto; 
	    margin: 0px;
	    position: relative;
	}

	#nablus{
	    left: 225px;
    	top: 130px;
		position: relative;
	}
	#jenin{
	    left: 30px;
    	top: 45px;
		position: relative;
	}
	#qalqilya{
	    left: 55px;
    	top: 100px;
		position: relative;
	}
	#salfit{
	    left: 30px;
    	top: 135px;
		position: relative;
	}
	#ramallah{
	    left: 0px;
    	top: 180px;
		position: relative;
	}
	#tulkarm{
	    left: 95px;
	    top: 40px;
	    position: relative;
	}
	#jerusalem{
	    left: 155px;
    	top: 185px;
		position: relative;
	}
	#bethlehem{
		left: 200px;
    	top: 220px;
		position: relative;
	}
	#gaza{
		left: -240px;
    	top: 310px;
		position: relative;
	}
	#hebron{
		left: 125px;
   		top: 275px;
		position: relative;
	}
	#jericho{
	    left: 275px;
    	top: 200px;
		position: absolute;
	}

	#tubas{
		left: 250px;
    	top: 90px;
		position: absolute;
	}

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.head-border{
		border-bottom: 4px solid #000;
    	outline: 4px solid #fff;
	}

	.modal-content h4 {
	    color: #fff;
	    line-height: 24px;
	    font-size: 14px;
	}
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
.mapbg{
		background-image: url('../images/map_mobile.png'); 
		background-position: 50% 50%;
		background-size: contain;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 450px;
	    margin: 0 auto;
	}

	.logo {
	    text-align: center;
	    margin: 10px 0 10px 0;
	}

	.logo img{
		width: 180px;
	}

	.slogan {
	    margin: 0px;
	    margin-top: 10px;
	    line-height: 18px;
	}
	.slogan h2{
		font-size: 24px;
	}
	.text-left{
		text-align: center;
	}
	.content {
	    width: 100%;
	    height: auto; 
	    margin: 0px;
	    position: relative;
	}

	#nablus{
	    left: 225px;
    	top: 130px;
		position: relative;
	}
	#jenin{
	    left: 30px;
    	top: 45px;
		position: relative;
	}
	#qalqilya{
	    left: 55px;
    	top: 100px;
		position: relative;
	}
	#salfit{
	    left: 30px;
    	top: 135px;
		position: relative;
	}
	#ramallah{
	    left: 0px;
    	top: 180px;
		position: relative;
	}
	#tulkarm{
	    left: 95px;
	    top: 40px;
	    position: relative;
	}
	#jerusalem{
	    left: 155px;
    	top: 185px;
		position: relative;
	}
	#bethlehem{
		left: 200px;
    	top: 220px;
		position: relative;
	}
	#gaza{
		left: -240px;
    	top: 310px;
		position: relative;
	}
	#hebron{
		left: 125px;
   		top: 275px;
		position: relative;
	}
	#jericho{
	    left: 275px;
    	top: 200px;
		position: absolute;
	}

	#tubas{
		left: 250px;
    	top: 90px;
		position: absolute;
	}

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.head-border{
		border-bottom: 4px solid #000;
    	outline: 4px solid #fff;
	}

	.modal-content h4 {
	    color: #fff;
	    line-height: 24px;
	    font-size: 14px;
	}
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
.mapbg{
		background-image: url('../images/map_mobile.png'); 
		background-position: 50% 50%;
		background-size: contain;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 450px;
	    margin: 0 auto;
	}

	.logo {
	    text-align: center;
	    margin: 10px 0 10px 0;
	}

	.logo img{
		width: 180px;
	}

	.slogan {
	    margin: 0px;
	    margin-top: 10px;
	    line-height: 18px;
	}
	.slogan h2{
		font-size: 24px;
	}
	.text-left{
		text-align: center;
	}
	.content {
	    width: 100%;
	    height: auto; 
	    margin: 0px;
	    position: relative;
	}

	#nablus{
	    left: 225px;
    	top: 130px;
		position: relative;
	}
	#jenin{
	    left: 30px;
    	top: 45px;
		position: relative;
	}
	#qalqilya{
	    left: 55px;
    	top: 100px;
		position: relative;
	}
	#salfit{
	    left: 30px;
    	top: 135px;
		position: relative;
	}
	#ramallah{
	    left: 0px;
    	top: 180px;
		position: relative;
	}
	#tulkarm{
	    left: 95px;
	    top: 40px;
	    position: relative;
	}
	#jerusalem{
	    left: 155px;
    	top: 185px;
		position: relative;
	}
	#bethlehem{
		left: 200px;
    	top: 220px;
		position: relative;
	}
	#gaza{
		left: -240px;
    	top: 310px;
		position: relative;
	}
	#hebron{
		left: 125px;
   		top: 275px;
		position: relative;
	}
	#jericho{
	    left: 275px;
    	top: 200px;
		position: absolute;
	}

	#tubas{
		left: 250px;
    	top: 90px;
		position: absolute;
	}

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.head-border{
		border-bottom: 4px solid #000;
    	outline: 4px solid #fff;
	}

	.modal-content h4 {
	    color: #fff;
	    line-height: 24px;
	    font-size: 14px;
	}
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
	.mapbg{
		background-image: url('../images/map.png'); 
		background-position: 50% 50%;
		background-size: cover;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 565px;
	    margin: 0 auto;
	}

	.logo {
	    text-align: center;
	    margin: 10px 0 10px 0;
	}

	.logo img{
		width: 180px;
	}

	.slogan {
	    margin: 0px;
	    margin-top: 10px;
	    line-height: 18px;
	}
	.slogan h2{
		font-size: 24px;
	}
	.text-left{
		text-align: center;
	}
	.content {
	    width: 100%;
	    height: auto; 
	    margin: 0px;
	    position: relative;
	}

	#nablus{
	    left: 300px;
    	top: 68px;
		position: relative;
	}
	#jenin{
	    left: 60px;
   		top: 13px;
		position: relative;
	}
	#qalqilya{
	    left: 150px;
    	top: 98px;
		position: relative;
	}
	#salfit{
	  	left: 147px;
    	top: 125px;
		position: relative;
	}
	#ramallah{
	   	left: 155px;
    	top: 120px;
		position: relative;
	}
	#tulkarm{
	    left: 145px;
    	top: 70px;
		position: relative;
	}
	#jerusalem{
	  	left: 50px;
    	top: 193px;
		position: relative;
	}
	#bethlehem{
		left: 110px;
    	top: 150px;
		position: relative;
	}
	#gaza{
		left: 15px;
    	top: 365px;
		position: relative;
	}
	#hebron{
		left: 80px;
    	top: 220px;
		position: relative;
	}
	#jericho{
	  	left: 420px;
    	top: 90px;
		position: absolute;
	}

	#tubas{
		left: 285px;
    	top: 10px;
		position: absolute;
	}	

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.head-border{
		border-bottom: 4px solid #000;
    	outline: 4px solid #fff;
	}

	.modal-content h4 {
	    color: #fff;
	    line-height: 24px;
	    font-size: 14px;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
.mapbg{
		background-image: url('../images/map_mobile.png'); 
		background-position: 50% 50%;
		background-size: contain;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 450px;
	    margin: 0 auto;
	}

	.logo {
	    text-align: center;
	    margin: 10px 0 10px 0;
	}

	.logo img{
		width: 180px;
	}

	.slogan {
	    margin: 0px;
	    margin-top: 10px;
	    line-height: 18px;
	}
	.slogan h2{
		font-size: 24px;
	}
	.text-left{
		text-align: center;
	}
	.content {
	    width: 100%;
	    height: auto; 
	    margin: 0px;
	    position: relative;
	}

	#nablus{
	    left: 225px;
    	top: 130px;
		position: relative;
	}
	#jenin{
	    left: 30px;
    	top: 45px;
		position: relative;
	}
	#qalqilya{
	    left: 55px;
    	top: 100px;
		position: relative;
	}
	#salfit{
	    left: 30px;
    	top: 135px;
		position: relative;
	}
	#ramallah{
	    left: 0px;
    	top: 180px;
		position: relative;
	}
	#tulkarm{
	    left: 95px;
	    top: 40px;
	    position: relative;
	}
	#jerusalem{
	    left: 155px;
    	top: 185px;
		position: relative;
	}
	#bethlehem{
		left: 200px;
    	top: 220px;
		position: relative;
	}
	#gaza{
		left: -240px;
    	top: 310px;
		position: relative;
	}
	#hebron{
		left: 125px;
   		top: 275px;
		position: relative;
	}
	#jericho{
	    left: 275px;
    	top: 200px;
		position: absolute;
	}

	#tubas{
		left: 250px;
    	top: 90px;
		position: absolute;
	}

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.head-border{
		border-bottom: 4px solid #000;
    	outline: 4px solid #fff;
	}

	.modal-content h4 {
	    color: #fff;
	    line-height: 24px;
	    font-size: 14px;
	}
}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
	/* Styles */
	.mapbg{
		background-image: url('../images/map.png'); 
		background-position: 0 0;
		background-size: cover;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 750px;
	    margin: 0 auto;
	}

	#nablus{
	    left: 462px;
	    top: 232px;
		position: relative;
	}
	#jenin{
	    left: 167px;
	    top: 157px;
		position: relative;
	}
	#qalqilya{
	    left: 250px;
	    top: 273px;
		position: relative;
	}
	#salfit{
	    left: 259px;
	    top: 298px;
		position: relative;
	}
	#ramallah{
	    left: 288px;
	    top: 302px;
		position: relative;
	}
	#tulkarm{
	    left: 235px;
	    top: 233px;
		position: relative;
	}
	#jerusalem{
	    left: 198px;
	    top: 408px;
		position: relative;
	}
	#bethlehem{
		left: 290px;
	    top: 346px;
		position: relative;
	}
	#gaza{
		left: 145px;
	    top: 642px;
		position: relative;
	}
	#hebron{
		left: 266px;
	    top: 450px;
		position: relative;
	}
	#jericho{
	    left: 610px;
	    top: 253px;
		position: absolute;
	}

	#tubas{
		left: 450px;
	    top: 152px;
		position: absolute;
	}

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.point{
		padding:8px;
		background-image: url('../images/pin.png');
		background-position: 0 0;
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;	
		color:#fff;
		border-radius: 0px;
		width: 40px;
		height: 40px;
		border:none;
		outline: none;
	}
	.point:hover{
		background-image: url('../images/pin.png');
		background-position: 0 0;
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
	}
	.point.active{
		background-image: url('../images/pin.png');
		background-position: 0 0;
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
	}
	.contents{
		float:left;
		color: #002b4e;
		font-family: 'Droid Arabic Kufi', serif;
		width: 712px;
		position: relative;
		top: 280px;
		left: 90px;
		font-size:12px;
	}
	.content{
		width: 100%;
		height: 650px;
		margin: 0px;	
		position: relative;
	}
}

/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
.mapbg{
		background-image: url('../images/map.png'); 
		background-position: 50% 50%;
		background-size: cover;
		background-repeat: no-repeat;
	    border: 0px solid #002b4e;
	    height: 810px;
	    margin: 0 auto;
	}

	.logo {
	    text-align: center;
	    margin: 10px 0 10px 0;
	}

	.logo img{
		width: 180px;
	}

	.slogan {
	    margin: 0px;
	    margin-top: 10px;
	    line-height: 18px;
	}
	.slogan h2{
		font-size: 24px;
	}
	.text-left{
		text-align: center;
	}
	.content {
	    width: 100%;
	    height: auto; 
	    margin: 0px;
	    position: relative;
	}

	#nablus{
	    left: 435px;
    	top: 112px;
		position: relative;
	}
	#jenin{
	    left: 140px;
    	top: 38px;
		position: relative;
	}
	#qalqilya{
	    left: 245px;
    	top: 165px;
		position: relative;
	}
	#salfit{
	    left: 253px;
    	top: 190px;
		position: relative;
	}
	#ramallah{
	    left: 290px;
    	top: 190px;
		position: relative;
	}
	#tulkarm{
	    left: 230px;
	    top: 123px;
	    position: relative;
	}
	#jerusalem{
	    left: 155px;
    	top: 290px;
		position: relative;
	}
	#bethlehem{
		left: 255px;
    	top: 225px;
		position: relative;
	}
	#gaza{
		left: 100px;
    	top: 530px;
		position: relative;
	}
	
	#hebron{
		left: 230px;
   		top: 325px;
		position: relative;
	}
	#jericho{
	    left: 530px;
    	top: 125px;
		position: absolute;
	}

	#tubas{
		left: 415px;
    	top: 33px;
		position: absolute;
	}

	.popup{
		display: none;
		padding: 10px;
		width: 300px;
		height: 400px;
		position: absolute;
		float: left;
		background: rgba(255, 255, 255,0);
		top: -190px;
		left: 38px;
	}
	.head-border{
		border-bottom: 4px solid #000;
    	outline: 4px solid #fff;
	}

	.modal-content h4 {
	    color: #fff;
	    line-height: 24px;
	    font-size: 14px;
	}
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}
