@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: Franklin Gothic;
    src: url(fonts/FranklinGothic-DemiCnd);
}

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
	font-family: 'Franklin Gothic', Arial, sans-serif;
}

.bg-img{
    background-image: url("../images/59_Group_bg_img.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	overflow: hidden;
	/*background-attachment: scroll;*/
	min-height: 850px;
	width: 100%;
}

#absolutefixed {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

.Absolute-Center.is-Responsive {
    width: 54%;
    /*height: 78%;*/
    height: calc(100% - 190px) !important;
    min-width: 200px;
    padding: 40px;
    text-align: left;
    color: #000000;
}

.top-txt{
	font-size: 45px;
    font-weight: bold;
	margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 100px;
}

.top-txt h1{
    margin: 26px 0 18px;
}

.middle-txt{
    margin-top: 40px;
    font-weight: bold;
	font-size: 18px;
}

.btm-txt{
	margin-top: 20px;
    line-height: 22px;
    font-size: 16px;
    width: 62%;
}

.visit-our-agencies{
    margin-top: 140px;
}

/****footer {
    /*opacity: 0.7;
    height: 200px;*/
   /**** display: flex;
    justify-content: space-around; /* this is important */
   /**** align-items: center; text-align: center;
}
footer > div {
   /* width: 100px; */
  /****  height: 36px;
    margin: 0 auto; /* this is important */
/******}

.a59{
    margin-left: 0;
}

.j59, .korkola, .candela {
        border-left: 1px solid #000;
    padding-left: 30px;
}

.a59-text {
    font-size: 14px;
    margin-left: 20px;
}

.j59-text{
    font-size: 14px;
    text-align: center;
    margin-left: 38px;
}

.korkola-text{
    font-size: 14px;
    margin-right: -23px;
    margin-left: 48px;
}

.candela-text{
    font-size: 14px;
    margin-left: 79px;
}

.visit-our-agencies h3{
    font-size: 17px;
}*/

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 22%;
    padding: 0 10px 10px 10px;
}

div.column {
  height: 30px;
}

.row{
	margin-top: 30px;
	margin-left: -42px;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.browse-agencies{
	display: none;
}

.browse-agencies{
	margin-top: 35px;
}

.browse-agencies a{
	background-color: #000000;
    text-decoration: none;
    color: #ffffff;
    padding: 17px 45px;
    font-size: 20px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px;
    padding-bottom: 20px; /* 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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
	color: #ffffff;
    float: right;
    background-color: #000000;
    font-size: 55px;
    /* font-weight: bold; */
    padding: 0px 15px;
    border-radius: 50px;
    position: absolute;
    right: 42px;
    top: 20px;
    /*color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;*/
}

.close:hover,
.close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.mob-column {
	margin-top: 45px;
    margin-bottom: 45px;
}

.mob-column img{
	width: 60%;
}

.mob-column p{
	font-size: 15px;
    line-height: 20px;
}

@media screen and (min-width: 2350px){
    .visit-our-agencies {
		margin-top: 300px;
	}
}
@media screen and (max-width: 2160px){
    .visit-our-agencies {
		margin-top: 255px;
	}
}
@media screen and (max-width: 2000px){
    .visit-our-agencies {
		margin-top: 175px;
	}
}

@media screen and (max-width: 1810px) {
	.Absolute-Center.is-Responsive {
		width: 55%;
		height: 83%;
	}
    .visit-our-agencies {
		margin-top: 125px;
	}
}

@media screen and (max-width: 1775px) {
	.Absolute-Center.is-Responsive {
		width: 55%;
		height: 81%;
	}
	
	.top-txt {
    	font-size: 42px;
	}
	
	.visit-our-agencies {
		margin-top: 110px;
	}

	.row {
		margin-left: -30px;
	}
}

@media screen and (max-width: 1670px) {
	.Absolute-Center.is-Responsive {
		width: 55%;
		height: 77%;
	}
	
	.top-txt {
		font-size: 40px;
		line-height: 95px;
	}
	
	.btm-txt {
		width: 71%;
	}
	
	.visit-our-agencies {
		margin-top: 82px;
	}
	.row {
		margin-left: -24px;
	}
}

@media screen and (max-width: 1595px) {
	.top-txt {
		font-size: 38px;
		line-height: 92px;
	}
	
	.Absolute-Center.is-Responsive {
		width: 55%;
		height: 74%;
	}
	
	.btm-txt {
		width: 75%;
	}
}

@media screen and (max-width: 1523px) {
	.Absolute-Center.is-Responsive {
		width: 58%;
		height: 73%;
	}
	
	.top-txt {
		font-size: 36px;
		line-height: 88px;
	}
}

@media screen and (max-width: 1470px) {
	.Absolute-Center.is-Responsive {
		width: 61%;
		height: 73%;
	}
	.row {
		margin-left: -20px;
	}
}

@media screen and (max-width: 1400px) {
	.Absolute-Center.is-Responsive {
		width: 64%;
		height: 70%;
	}
	.visit-our-agencies {
		margin-top: 135px;
	}
}

@media screen and (max-width: 1350px) {
	.Absolute-Center.is-Responsive {
		width: 65%;
	}
}

@media screen and (max-width: 1329px) {
	.Absolute-Center.is-Responsive {
		width: 67%;
		height: 73%;
	}
}

@media screen and (max-width: 1350px) {
	.Absolute-Center.is-Responsive {
		width: 68%;
	}
}

@media screen and (max-width: 1250px) {
	.Absolute-Center.is-Responsive {
		width: 72%;
    	height: 68%;
	}
}

@media screen and (max-width: 1180px) {
	.Absolute-Center.is-Responsive {
		width: 77%;
    	height: 68%;
	}
}

@media screen and (max-width: 1120px) {
	.Absolute-Center.is-Responsive {
		width: 82%;
		height: 68%;
	}
}

@media screen and (max-width: 1050px) {
	.Absolute-Center.is-Responsive {
		width: 87%;
		height: 68%;
	}
}

@media screen and (max-width: 1000px) {
	.Absolute-Center.is-Responsive {
		width: 91%;
		height: 68%;
	}
}

@media screen and (max-width: 950px) {
	.Absolute-Center.is-Responsive {
		width: 96%;
		height: 68%;
	}
}

@media screen and (max-width: 900px) {
	.Absolute-Center.is-Responsive {
		width: 100%;
		height: 68%;
	}
}

@media screen and (max-width: 797px) {
	.top-txt {
		font-size: 34px;
		line-height: 88px;
	}
}

/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

@media (max-width: 768px){
	.bg-img{
		background-image: url(../images/group59-bg-768.jpg);
		height: 100%;
		background-repeat: no-repeat;
		background-size: cover;
		overflow: hidden;
		/*background-attachment: scroll;*/
		background-position: center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		min-height: 1300px;
	}
	
	.Absolute-Center.is-Responsive {
		width: 80%;
	}
	
	.top-txt {
    	font-size: 45px;
		line-height: 88px;
	}
	
	.middle-txt {
		font-size: 22px;
		line-height: 27px;
	}
	
	.btm-txt {
		font-size: 20px;
    	line-height: 28px;
	}
	
	.visit-our-agencies{
		display: none;
	}
	
	.browse-agencies{
		display: block;
	}
	
	.mob-column img {
		width: unset !important;
	}
}

@media (max-width: 667px){
	.Absolute-Center.is-Responsive {
	    width: 80%;
	    height: calc(100% - 100px) !important;
	}

	.top-txt {
	    font-size: 36px;
	    line-height: 70px;
	}

	.top-txt h1 {
	    margin: 24px 0 20px;
	}

	.middle-txt {
	    font-size: 22px;
	    line-height: 27px;
	    margin-top: 20px;
	}

	.btm-txt {
	    font-size: 19px;
	    line-height: 27px;
	    width: 92%;
	}

	.browse-agencies a {
	    padding: 17px 95px;
	}

	.bg-img {
	    background-image: url(../images/group59-mobile-bg.jpg);
	    min-height: 1100px;
	    background-size: cover;
	}
}

@media (max-width: 568px){
	.Absolute-Center.is-Responsive {
		width: 100%;
	}
}
@media (max-width: 480px){
	 body {

        height : 100%;

        overflow : scroll;

        -webkit-overflow-scrolling : touch;

    }
	.bg-img{
		background-image: url(../images/group59-mobile-bg.jpg);
		height: 100%;
		background-repeat: no-repeat;
		background-size: cover;
		overflow: hidden;
		/*background-attachment: scroll;*/
		background-position: center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		min-height: 600px;
	}
	
	.Absolute-Center.is-Responsive {
		width: 88%;
		height: calc(100% - 50px) !important;
	}
	
	.top-txt {
		font-size: 20px;
    	line-height: 42px;
	}
	
	.middle-txt {
		margin-top: 15px;
		font-weight: bold;
		font-size: 16px;
		line-height: 21px;
	}
	
	.btm-txt {
		font-size: 15px;
		width: 100%;
		line-height: 22px;
		margin-top: 12px;
	}
	
	.visit-our-agencies{
		display: none;
	}
	
	.browse-agencies{
		display: block;
	}
	
	.modal-content {
		width: 80%;
	}
	
	.close {
		right: 0;
	}

	.group59-logo img {
		width: 55%;
	}

	.top-txt h1 {
		margin: 13px 0 0;
	}
	
	.browse-agencies a {
		padding: 17px 58px;
	}
}

@media (max-width: 420px){
	.Absolute-Center.is-Responsive {
		width: 100%;
		padding-left: 55px;
	}
	
	.browse-agencies a {
		padding: 17px 55px;
	}
}

@media (max-width: 385px){
	.browse-agencies a {
		padding: 17px 40px;
	}
}

@media (max-width: 375px){
	.Absolute-Center.is-Responsive {
		padding-left: 52px;
		height: calc(100% - 30px) !important;
	}

	.top-txt {
	    font-size: 18px;
	    line-height: 44px;
	}

	.middle-txt {
		margin-top: 15px;
	    font-weight: bold;
	    font-size: 15px;
	}

	.btm-txt {
	    font-size: 14px;
	    width: 100%;
	    line-height: 20px;
	    margin-top: 12px;
	}

	.browse-agencies a {
	    padding: 17px 37px;
	    font-size: 20px;
	}
}

@media (max-width: 368px){
	.browse-agencies a {
		padding: 17px 25px;
	}
	
	.top-txt {
		font-size: 22px;
		line-height: 46px;
	}
	
	.middle-txt {
		font-size: 20px;
	}
	
	.btm-txt {
		font-size: 16px;
		width: 100%;
		line-height: 20px;
	}
}

@media (max-width: 360px){
	.top-txt {
		font-size: 19px;
		line-height: 40px;
	}
	
	.middle-txt {
		font-size: 14px;
		line-height: 17px;
	}
	
	.btm-txt {
		font-size: 14px;
		width: 100%;
		line-height: 18px;
	}
}

@media (max-width: 340px){
	.top-txt {
		font-size: 20px;
		line-height: 40px;
	}
	
	.middle-txt {
		font-size: 18px;
	}
	
	.btm-txt {
		font-size: 15px;
		width: 100%;
		line-height: 20px;
	}
}

@media (max-width: 320px){
	.top-txt {
		font-size: 16px;
		line-height: 35px;
	}
	
	.middle-txt {
		font-size: 14px;
	}
	
	.btm-txt {
		font-size: 12px;
		width: 100%;
		line-height: 17px;
	}
	
	.browse-agencies a {
		padding: 17px 18px;
		font-size: 18px;
	}
}

@media (min-height: 1000px){
	.Absolute-Center.is-Responsive {
	    height: calc(100% - 290px) !important;
	}
}


@media (min-height: 2000px){
	.Absolute-Center.is-Responsive {
	    height: calc(100% - 500px) !important;
	}
}

/* to the body element */
/*.noscroll { overflow: hidden; }

@media (min-device-width: 1025px) {
  .noscroll { 
      padding-right: 15px;
  }
}

.overlay { 
   position: fixed; 
   overflow-y: scroll;
   top: 0; left: 0; top: 0; bottom: 0;
}

[aria-hidden="true"] {    
  transition: opacity 1s, z-index 0s 1s;
  width: 100vw;
  z-index: -1; 
  opacity: 0;  }

[aria-hidden="false"] {  
  transition: opacity 1s;
  width: 100%; 
  z-index: 1;  
  opacity: 1; 
}*/