/* SECTION LINKS */

.sectionlinks {
    padding: 15px 0;
	background-color: white;
	padding-top: calc(3.5 * var(--space));
}

.sectionlinks .row {
    max-width: var(--row-max-width);
}

.sectionlinks-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
	background-color: white;
}

.sectionlinks-wrapper:after,
.sectionlinks-wrapper:before {
    content: "";
    display: table
}

.sectionlinks-wrapper:after {
    clear: both
}

.sectionlinks-box {
    height: 220px;
    margin-bottom: 15px;
	background-color: white;
	position: relative
}

@media (max-width:550px) {
.sectionlinks-box {
    height: 150px;
}	
}

.sectionlinks-box:nth-of-type(6n) {
    margin-bottom: 0
}

@media (max-width:767px) {
.sectionlinks-box:nth-of-type(6n) {
    margin-bottom: 15px
}	
}

.sectionlinks-box_url, .sectionlinks-box_url--none {
    display: block;
    height: 100%;
    position: relative;
	overflow: hidden; border-radius: 35px;
}

.sectionlinks-box_url .arrow-link {
    position: absolute;
    left: 25px;
    bottom: 35px;
    z-index: 1;
    -webkit-transition: opacity 350ms ease;
    -o-transition: opacity 350ms ease;
    transition: opacity 350ms ease;
    opacity: 0
}

@media (max-width:1250px) {
.sectionlinks-box_url .arrow-link {
    left: 25px;
    bottom: 25px;
}	
}

.sectionlinks-box_url .arrow-link span {
    color: #fff
}

.sectionlinks-box--yellow .sectionlinks-box_url .arrow-link span:hover {
    color: #ffdd00
}

.sectionlinks-box_url:hover .sectionlinks-box_bgimg {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.sectionlinks-box_url:hover .sectionlinks-box_name {
    -webkit-transform: translateY(-25px);
    -ms-transform: translateY(-25px);
    transform: translateY(-25px)
}

.sectionlinks-box_url:hover .arrow-link {
    opacity: 1
}

.sectionlinks-box_name {
    position: absolute;
    left: 25px;
    bottom: 35px;
    z-index: 1;
    color: #ffdd00;
    font-size: 1.8em;
	font-family: "Varela Round", sans-serif;
    font-weight: 700;
	letter-spacing: 1px;
    -webkit-transition: -webkit-transform 350ms ease;
    transition: -webkit-transform 350ms ease;
    -o-transition: transform 350ms ease;
    transition: transform 350ms ease;
    transition: transform 350ms ease, -webkit-transform 350ms ease;
	line-height: 1;
}

@media (max-width:1250px) {
.sectionlinks-box_name {
    left: 23px;
    bottom: 23px;
    font-size: 1.6em;
}	
}

@media (max-width:550px) {
.sectionlinks-box_url--none .sectionlinks-box_name, .sectionlinks-box_url--none .arrow-link {
    display:none;
}	
}

.sectionlinks-box_bgimg {
    height: 100%;
    position: relative;
    -webkit-transition: -webkit-transform 350ms ease;
    transition: -webkit-transform 350ms ease;
    -o-transition: transform 350ms ease;
    transition: transform 350ms ease;
    transition: transform 350ms ease, -webkit-transform 350ms ease;
	    list-style: none;
}

.sectionlinks-box_bgimg:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(rgba(21, 38, 61, 0.75)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, rgba(21, 38, 61, 0.75) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, rgba(21, 38, 61, 0.75) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(21, 38, 61, 0.75) 100%)
}

.sectionlinks-box--yellow .sectionlinks-box_bgimg:after {
    background: rgba(255, 146, 0, 0.6)
}

.sectionlinks-box--blue .sectionlinks-box_bgimg:after {
    background: rgba(25, 75, 157, 0.85)
}

.sectionlinks-box--blue .sectionlinks-box_bgimg img,
.sectionlinks-box--yellow .sectionlinks-box_bgimg img {
    -webkit-filter: grayscale(100);
    filter: grayscale(100)
}

/*@media (max-width:1024px) {
	.sectionlinks-box_bgimg img {
		margin-top: -167px!important;
	}
}*/

.sectionlinks-box__icon {
    position: absolute;
	top: 0;
    left: 0;
    right: 0;
	bottom: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 999999;
    color: #fff;
}

.icon--block {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
 height: 100%;
	
}

.icon--block-item {
  width: 100px;
  height: 100px;
		border: 0px solid #fff;
	border-radius: 50%;
	box-sizing: content-box;
	background: rgba(255,255,255,1);
	display:inline-block;
    vertical-align: middle;
	text-align: center;
	margin: 0 10px;
}

.sectionlinks-box:nth-of-type(8n) .icon--block-item {
	background: rgba(255,255,255,0.29);
}

.icon--block-item i {
	color: rgba(255,255,255,0.5);
	display: inline-block;
	font-size: 3.42857rem;
	line-height: 2.8rem;
	padding: 27px 0 30px 0;
	-moz-transition: color 0.2s linear;
	-o-transition: color 0.2s linear;
	-webkit-transition: color 0.2s linear;
	transition: color 0.2s linear;
	text-align: center
}

.sectionlinks-box:nth-of-type(8n) .icon--block-item i {
	padding-left: 10px;
}

@media (max-width:1250px) {
	
.icon--block-item {
  width: 80px;
  height: 80px;
}
	
.icon--block-item i {
	font-size: 2.42857rem;
	line-height: 2.7rem;
	padding: 17px 0 30px 0;
}	
}

@media (max-width:1024px) {
	
.icon--block-item {
  width: 40px;
  height: 40px;
}
	
.icon--block-item i {
	font-size: 1.4rem;
	line-height: 1.2rem;
	padding: 12px 0 6px 0;
}	
	
.sectionlinks-box:nth-of-type(8n) .icon--block-item i {
    padding-left: 3px;
}	
}

@media (max-width:950px) {
	
.icon--block-item {
  width: 37px;
  height: 37px;
}
	
.icon--block-item i {
	font-size: 1.2rem;
	line-height: 1rem;
	padding: 12px 0 6px 0;
}	
}

.phone i {
  color: #0822aa;
}

.email i {
  color: #ffdd00;
}

.twitter i {
  color: #1DA1F2;
}

.facebook i {
  color: #3b5998;
}

.instagram i {
  color: #3f729b;
}

.phone i:hover, .email i:hover, .twitter i:hover, .facebook i:hover, .instagram i:hover {
  color: rgba(0,0,0,0.43);
	cursor: pointer
}

@media (min-width:769px) {
    .sectionlinks-box {
        float: left;
        width: calc(50%);
        margin-right: 0;
        height: 200px;
        margin-bottom: 0
    }
    .sectionlinks-box:nth-of-type(6n),
    .sectionlinks-box:nth-of-type(6n-1),
    .sectionlinks-box:nth-of-type(6n-2),
	.sectionlinks-box {
        margin-top: 15px
    }
    .sectionlinks-box:nth-of-type(6n),
    .sectionlinks-box:nth-of-type(6n-3) {
        margin-right: 0
    }
}

@media (min-width:1200px) {
    .sectionlinks-box {
        height: 250px;
    }
}

@media (min-width:1025px) {
    .sectionlinks {
        padding: 0
    }
    .sectionlinks-box {
        margin-right: 0;
        margin-top: 0
    }
    .sectionlinks-box:nth-of-type(6n-5) {
        width: calc(25% - (45px/4));
        height: 320px;
        margin-bottom: 15px
    }
    .sectionlinks-box:nth-of-type(6n-4) {
        width: calc(25% - (45px/4));
        height: 320px;
        /*clear: left*/
		float:left;
		margin-top: 0;
		margin-left: 15px
    }
    .sectionlinks-box:nth-of-type(6n-3) {
       /* width: calc(25% - (45px/4));
        height: 775px;
        margin: -395px 15px 0*/
			
			width: calc(50% - ((45px/4) * 2) + 15px);
    height: 320px;
    margin: 0 -395px 0 15px
    }
    .sectionlinks-box:nth-of-type(6n-2) {
        width: calc(50% - ((45px/4) * 2) + 15px);
        height: 320px;
        margin: 0 15px 0 0;
		float:left;
	clear:left;
    }
    .sectionlinks-box:nth-of-type(6n-1) {
        width: calc(25% - (45px/4));
        height: 320px;
        margin-right: 15px;
        margin-top: 0
    }
    .sectionlinks-box:nth-of-type(6n) {
        width: calc(25% - (45px/4));
        height: 320px;
        margin-top: 0
    }
	
    .sectionlinks-box:nth-of-type(7n), .sectionlinks-box:nth-of-type(8n), .sectionlinks-box:nth-of-type(9n) {
        margin-top: 15px
    }	
}

.img-align1 {
	margin:auto; position: relative; display: inline-block; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; width:500px;
}

.img-align2 {
	margin:auto; position: relative; display: inline-block; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; width:700px;
}

@media (max-width:1025px) {
	.img-align2 {
		height: 100%
	}
}

@media (max-width:767px) {
.img-align1 {
	margin:auto; position: relative; display: inline-block; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; width:100%;
}

.img-align2 {
	margin:auto; position: relative; display: inline-block; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; width:100%; height: auto
}
}

@media (max-width:440px) {
.img-align1, .img-align2 {
	width:100%; height: 100%
}
}

@media (min-width:1440px) {
.img-align2 {
	width:960px
}
}

@media (min-width:1970px) {
.img-align2 {
	width:1000px
}
}

@media (max-width:1450px) {
.sectionlinks-box:nth-of-type(6n-5), .sectionlinks-box:nth-of-type(6n-4), .sectionlinks-box:nth-of-type(6n-3), .sectionlinks-box:nth-of-type(6n-2), .sectionlinks-box:nth-of-type(6n-1), .sectionlinks-box:nth-of-type(6n) {
    height: 320px;
}
}	

@media (max-width:1250px) {
.sectionlinks-box:nth-of-type(6n-5), .sectionlinks-box:nth-of-type(6n-4), .sectionlinks-box:nth-of-type(6n-3), .sectionlinks-box:nth-of-type(6n-2), .sectionlinks-box:nth-of-type(6n-1), .sectionlinks-box:nth-of-type(6n) {
    height: 280px;
}
}

@media (max-width:1050px) {
.sectionlinks-box:nth-of-type(6n-5), .sectionlinks-box:nth-of-type(6n-4), .sectionlinks-box:nth-of-type(6n-3), .sectionlinks-box:nth-of-type(6n-2), .sectionlinks-box:nth-of-type(6n-1), .sectionlinks-box:nth-of-type(6n) {
    height: 250px;
}
}

@media (max-width:1025px) {
.sectionlinks-box:nth-of-type(6n-5), .sectionlinks-box:nth-of-type(6n-4), .sectionlinks-box:nth-of-type(6n-3), .sectionlinks-box:nth-of-type(6n-2), .sectionlinks-box:nth-of-type(6n-1), .sectionlinks-box:nth-of-type(6n) {
    height: 250px;
}
}

@media (max-width:510px) {
.sectionlinks-box:nth-of-type(6n-5), .sectionlinks-box:nth-of-type(6n-4), .sectionlinks-box:nth-of-type(6n-3), .sectionlinks-box:nth-of-type(6n-2), .sectionlinks-box:nth-of-type(6n-1), .sectionlinks-box:nth-of-type(6n) {
    height: 230px;
}
}


/** ICONS **/

.link-icon {
	position: absolute;
	z-index: 99;
	left: 50%;
    transform: translate(-50%, 0);
	margin-top: -35px;
	color: #f186b6
}

.sectionlinks-box .fa-inverse {
    color: white
}
