html,body,.wrapper {
	height: 100%;
}
.wrapper {
	/*background: url('../images/pagebackground.png'), -moz-linear-gradient( 143deg, rgb(140,98,172) 0%, rgb(76,76,146) 100%);
	background: url('../images/pagebackground.png'), -webkit-linear-gradient( 143deg, rgb(140,98,172) 0%, rgb(76,76,146) 100%);
	background: url('../images/pagebackground.png'), -ms-linear-gradient( 143deg, rgb(140,98,172) 0%, rgb(76,76,146) 100%);*/

	background: url('../images/pagebackground.png'), -moz-linear-gradient( 143deg, #7f5674 0%, #62495b 100%);
	background: url('../images/pagebackground.png'), -webkit-linear-gradient( 143deg, #7f5674 0%, #62495b 100%);
	background: url('../images/pagebackground.png'), -ms-linear-gradient( 143deg, #7f5674 0%, #62495b 100%);
	position: relative;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
}
.box-section {
	margin: 0 auto;
	position: relative;
	padding: 50px 0 0;
	height: 100%;
	padding-left: 4%;
	padding-right: 4%;
}
.logo-contain {
	position: absolute;
	left: 4%;
	top: 4%;
}
.detailsTitlepart {
	text-align: center;
}
.detailsTitlepart .box-sectionTitle {
	text-shadow: 0px 22px 18.4px rgba(0, 0, 0, 0.6);
	font-size: 2vw;
	line-height: 1.5;
	font-family: 'Montserrat', sans-serif;
	/*margin-top: -40px;*/
}
.detailsTitlepart .tagline {
	font-size: 1.3vw;
	line-height: 1.5;
	font-family: 'Open Sans', sans-serif;
	text-shadow: 0px 22px 18.4px rgba(0, 0, 0, 0.5);
}
.boxContainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 2.1%;
}
.boxContainer .boxWrap {
	width: 33.33%;
}
.boxContainer .boxWrap.boxWrap-middle {
	padding: 0 10px 10px;
}
.boxContainer .boxWrap.boxWrap-middle.secondLine {
	padding-top: 10px;
}
.boxContainer .boxWrap.boxWrap-left {
	padding: 0px 10px 10px 0px;
}
.boxContainer .boxWrap.boxWrap-left.secondLine {
	padding-top: 10px;
}
.boxContainer .boxWrap.boxWrap-right {
	padding: 0 0px 10px 10px;
}
.boxContainer .boxWrap.boxWrap-right.secondLine {
	padding-top: 10px;
}
.boxContainer .boxWrap .boxInnerWrap {
	background: rgba(255,255,255,0.11);
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;	
	text-transform: uppercase;
	position: relative;
	height: 23vh;
	text-align: center;
	transition: 0.3s all;
	display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    border-bottom: 7px solid transparent;
    box-shadow: 0px 9px 14.4px 1.6px rgba(0, 0, 0, 0.18);
}
.boxContainer .boxWrap .boxInnerWrap > div {
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
}
.boxContainer .boxWrap .boxInnerWrap:hover {
	background: #713562;
	border-bottom: 7px solid #fff;
	transition: 0.3s all;
}
.boxContainer .boxWrap .boxfullanchor {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
}
.boxContainer .boxWrap .boxInnerWrap img {
	margin-top: 10%;
	margin-bottom: 45%;
	max-width: 100px;
	width: auto;
}
.boxContainer .boxWrap .boxInnerWrap h4 {
	font-size: 1.5vw;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3%;
}

.button-container {
    position: absolute;
    right: 4%;
    top: 5%;    
}

.button-container a:hover{
    box-shadow: 0px 9px 14.4px 1.6px rgba(0, 0, 0, 0.18);
}

.button-container a {
    background: #713562;
    border-bottom: 2px solid #fff;
    transition: 0.3s all;
    color: #fff;
    padding: 8px 15px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-decoration: none;
}

  .form-control {
    color: white;
    background-color: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.11);
    width: 100%; 
    
}
.submit-btn {
    background: #713562;
    border-color: #713562;
    border-bottom: 2px solid #fff;
    width: 120px;
}
option {
    color: black;
}

input#gridRadios2 {
    margin-left: 20px;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.database-form {width: 500px; margin: 50px auto 0;}
.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 400px;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  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;
}
.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;
}






@media(max-width: 1440px) { 
	.logo-contain img {
		max-width: 150px
	}
	.box-section {
		padding: 30px 4% 0;
	}
	/*.detailsTitlepart .box-sectionTitle {
		margin-top: -25px;
	}*/
	.boxContainer .boxWrap .boxInnerWrap img {
		width: 75px;
		margin-bottom: 20%;
	}
	.boxContainer .boxWrap .boxInnerWrap {
		height: 22vh;
	}
	.boxContainer .boxWrap .boxInnerWrap h4 {
		bottom: 2%;
	}
	.boxContainer .boxWrap .boxInnerWrap {
		border-width: 4px;
	}
	.boxContainer .boxWrap .boxInnerWrap:hover {
		border-width: 4px;
	}
	.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 1.3vw;
		margin-bottom: 4px;
	}

	.detailsTitlepart .box-sectionTitle {
        max-width: 660px;
        margin: 10px auto 0;
    }
}



@media(max-width: 1199px) {
	.detailsTitlepart .box-sectionTitle {
		font-size: 2.4vw;
		margin-top: 25px;
	}
	.logo-contain {
		text-align: center;
		position: static;
	}
	.detailsTitlepart .tagline {
		font-size: 1.8vw;
	}
	.detailsTitlepart {
		margin-bottom: 4%;
	}
	.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 1.7vw;
	}

	.button-container {
	    text-align: center;
	    position: static;
	}

}


@media(max-width: 1025px) {
	/*.boxContainer .boxWrap {
		width: 50%;
	}*/
	.boxContainer .boxWrap .boxInnerWrap {
		height: 20vh;
	}
	.boxContainer .boxWrap.boxWrap-left {
		padding: 0px 5px 5px 0px
	}
	.boxContainer .boxWrap.boxWrap-left.secondLine {
		padding-top: 5px;
	}
	.boxContainer .boxWrap.boxWrap-middle {
		padding: 0 5px 5px;
	}
	.boxContainer .boxWrap.boxWrap-right.secondLine {
		padding-top: 5px;
	}
	.boxContainer .boxWrap.boxWrap-middle.secondLine {
		padding-top: 5px;
	}
	.boxContainer .boxWrap.boxWrap-right {
		padding: 0 0px 5px 5px;
	}
	.boxContainer .boxWrap:nth-child(3) {
		padding: 0px 5px 5px 5px;
	}
	.boxContainer .boxWrap:nth-child(4) {
		padding-left: 5px;
	}
	/*.boxContainer .boxWrap:nth-child(5) {
		padding-left: 0px;
	}*/
	.boxContainer .boxWrap:nth-child(6) {
		padding-right: 5px;
	}
	.detailsTitlepart {
		margin-top: 5%;
		margin-bottom: 5%;
	}

	.button-container {		
		margin-bottom: 5%;
	}

	.boxContainer .boxWrap .boxInnerWrap img {
		width: 85px
	}
	.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 1.8vw;
		bottom: 12%;
	}
	/*.boxContainer .boxWrap.boxWrap-right.secondLine.last {
		padding-left: 0;
	}*/
	.boxContainer .boxWrap.boxWrap-right.secondLine.last {
		padding-right: 5px;
	}
}
@media(max-width: 768px) { 
	.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 20px;
		bottom: 8%;
	}
	.detailsTitlepart .box-sectionTitle {
		font-size: 23px;
	}
	.detailsTitlepart .tagline {
		font-size: 18px;
	}
	.logo-contain img {
		width: 100px;
	}
	.box-section {
		padding: 15px 4% 15px;
	}
}

@media(max-width: 767px) {
	.boxContainer .boxWrap {
		width: 50%;
	}
	.boxContainer .boxWrap:nth-child(3) {
		padding: 5px 5px 5px 0;
	}
	.boxContainer .boxWrap.boxWrap-middle.secondLine {
		padding-left: 0px;
	}
	.boxContainer .boxWrap.boxWrap-middle.secondLine:nth-child(8) {
		padding-left: 5px;
	}
	.boxContainer .boxWrap.boxWrap-right.secondLine.last {
		padding: 5px 5px 0px 0px;
		width: 100%;
	}
	html, body, .wrapper {
		display: table;
		width: 100%;
	}
	  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
  .database-form {
    width: auto;
}
.popup h2 {font-size: 18px;}

.popup .close {
    position: absolute;
    top: 8px;
    right: 15px;
    transition: all 200ms;
    font-size: 24px;
  }
}


.database-form label {
	font-size: 18px;
}

.database-form .form-control {
	height: 50px;
}

.database-form .form-group{
	margin-bottom: 30px;
}

.database-form .submit-btn {
	width: 160px;
    height: 50px;
    line-height: 35px;
    font-size: 20px;
    float: right;
}

.database-form .submit-btn:hover  {
	background-color: #fff;
    border-color: #713562;
    color: #713562;
}

@media(max-width: 560px) {
	.boxContainer .boxWrap .boxInnerWrap img {
		width: 52px;
		margin-bottom: 40%;
	}
	.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 15px;
		bottom: 5%;
	}
	.detailsTitlepart .box-sectionTitle {
		font-size: 18px;
	}
	.detailsTitlepart .tagline {
		font-size: 16px;
	} 
	.boxContainer .boxWrap .boxInnerWrap {
		height: 19vh;
	}
} 
@media(max-width: 360px) { 
	.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 13px;
		bottom: 0%;
	}
}

@media only screen 
and (min-device-width : 360px) 
and (max-device-width : 1199px) 
and (orientation : landscape) { 
	html, body, .wrapper {
		display: table;
		width: 100%;
		height: 100%;
	}
	.boxContainer .boxWrap .boxInnerWrap {
		height: 170px;
	}	

} 

@media only screen 
and (min-device-height : 320px)
and (orientation : landscape) { 
	html, body, .wrapper {
		display: table;
		width: 100%;
		height: 100%;
	}
	.boxContainer .boxWrap .boxInnerWrap img {
		max-height: 15vh;
	}
	.boxContainer .boxWrap .boxInnerWrap h4 {
		bottom: 4%;
	}
	.detailsTitlepart {
		margin-top: 2%;
    	margin-bottom: 2%;
	}
	.detailsTitlepart .box-sectionTitle {
		margin-top: 10px;
	}
	.box-section {
		padding: 15px 4% 15px;
	}
	
	/*.boxContainer .boxWrap .boxInnerWrap h4 {
		font-size: 1.4vw;
		bottom: 6%;
	}*/
	/*.boxContainer .boxWrap .boxInnerWrap {
		height: 170px;
	}*/	
	/*.boxContainer .boxWrap .boxInnerWrap img {
		max-width: 65px;
	}*/
}