﻿/* *, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: url(http://www.shukatsu-note.com/wp-content/uploads/2014/12/computer-564136_1280.jpg) no-repeat;
  background-size: cover;
  height: 100vh;
}

h1 {
  text-align: center;
  font-family: Tahoma, Arial, sans-serif;
  color: #06D85F;
  margin: 100px 0;
}*/

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  /*position: absolute;*/
  top: 20px;
  right: 30px;
  /*transition: all 0.2s;*/
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  /*font-family: Arial;*/
  color: #ffffff;
  padding: 10px 20px 10px 20px; 

}
/*.popup .close:hover {
  color: #06D85F;
  color:#fff;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  text-decoration: none;

}*/
.popup .content {
  max-height: 100%;
  overflow: auto; background: transparent;
}
.content a {
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

/*Let's make it appear when the page loads*/
.overlay:target:before {
    display: none;
}
.overlay:before {
  content:"";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  z-index:999;
}
/*.overlay .popup {
background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(184,134,11, 0.93)),
    url('http://www.jpm.gov.bn/SiteCollectionImages/JPM-baru-2.jpg');
    
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position:center top;

  border-radius: 5px;
  width: 66%;
  position: fixed;
  top: 0;
  left: 15%;
  padding: 25px;
  margin: 15vh auto;
  z-index: 1000;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
}*/

.overlay .popup {
/*background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(192,192,192, 0.93)),
    url('http://www.jpm.gov.bn/SiteCollectionImages/JPM-baru-2.jpg');*/
    
    
  background-image:linear-gradient(#b4b6b8, white);  
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position:center top;
  /*background: #fff;*/
  border-radius: 5px;
  width: 66%;
  height: 350px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px;
  margin: auto;
  z-index: 1000;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
}

.overlay:target .popup {
    top: -200%;
    left: -200%;
}

.btn_close {
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 20;
  -moz-border-radius: 20;
  border-radius: 20px;
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  margin: 15px 5px;
}

.popup-links a {min-height: 220px; display: flex; align-items: center; padding-top: 0; margin-right: 5px;}

/*.btn_close:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}*/

@media screen and (max-width: 768px){
  .box{
    width: 70%;
    
  }
  .overlay .popup{
    width: 70%;
    left: -10%;
    margin:15vh;
  }
}

.app1{
	background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
	padding:20px;
	color:white;
	font-weight:bold;
	text-transform:uppercase;
	vertical-align:middle;
	text-align:center;
	padding-top:60px;
	border-radius:10px;
	height:125px;
	text-decoration:none !important;
	color:white !important;

}

.app2{
	background: linear-gradient(90deg, #9ebd13 0%, #008552 100%);
	padding:20px;
	color:white;
	font-weight:bold;
	text-transform:uppercase;
	vertical-align:middle;
	text-align:center;
	padding-top:60px;
	border-radius:10px;
	height:125px;
	text-decoration:none !important;
	color:white !important;

}
	
.app3{
	background: linear-gradient(90deg, #d53369 0%, #daae51 100%);
	padding:20px;
	color:white;
	font-weight:bold;
	text-transform:uppercase;
	vertical-align:middle;
	text-align:center;
	padding-top:60px;
	border-radius:10px;
	height:125px;
	text-decoration:none !important;
	color:white !important;

}

.app4{
	background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
	padding:20px;
	color:white;
	font-weight:bold;
	text-transform:uppercase;
	vertical-align:middle;
	text-align:center;
	padding-top:60px;
	border-radius:10px;
	height:125px;
	text-decoration:none !important;
	color:white !important;

}




/* =================== Responsiveness ====================== */


/* Desktops */

@media (min-width: 1281px) {
  
  /* CSS */
  
}

/* Laptops, Desktops */

@media (min-width: 1025px) and (max-width: 1280px) {
  
  /* CSS */
  
}

/* Tablets, Ipads (portrait) */

@media (min-width: 768px) and (max-width: 1024px) {
  

}

/* Tablets, Ipads (landscape) */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  
}

/* Low Resolution Tablets, Mobiles (Landscape) */

@media (min-width: 481px) and (max-width: 767px) {
  
  /* CSS */
  
}

/* Most of the Smartphones Mobiles (Portrait) */

@media (min-width: 320px) and (max-width: 820px) {

  .overlay .popup {
    width: 80%;
    left: 0;
    margin: auto auto;
    height: calc(80vh - 20px);
    padding: 10px;
}

.popup-links-wrapper {
  flex-direction: column;
}
.popup .content {
  max-height: calc(80vh - 130px);
  overflow: auto;
}
.popup-links-wrapper > a {
  width: 90% !important;
    height: auto;
    margin: 1% 0 !important;
    padding: 0px 5px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn_close {    border-radius: 10px;
  font-size: 16px;
  padding: 10px 20px 10px 20px;
  margin: 15px;}
}

@media (min-width: 320px) and (max-width: 376px) {


}
