/* ========================== SYS Style CSS Document ======================== */ 

/* Table of Content
=============================================================================
	#Site Styles
	#Page Styles
	#Media Queries */

/* #Site Styles
============================================================================= */


/* ===== GENERAL ===== */

    #bg {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: none;
  		min-height: 600px;
    }
    .heading {
        position: relative;
        margin-bottom: 6px;
    }
    .heading:before {
        content: "\0020";
        width: 100%;
        background-color: transparent;
        display: block;
        height: 1px;
        border-top: 1px solid #E0E0E0;
        position: absolute;
        top: 50%;
        margin-top: -1px;
        z-index: 1;
    }
    .heading span {
        position: relative;
        background-color: #FFF;
        z-index: 2;
        padding: 0 4px;
        margin: 0 0 0 10px;
    }
	img.scale {
		display: block;
    	max-width: 100%;
    	margin: 0 auto;
	}

/* ===== HEADER ===== */

    .tel-button {
        float: left;
    }
    .tel-button a {
        display: block;
        height: 45px;
        color: #EEE;
        line-height: 45px;
    }
    .summaries {
        position: absolute;
        right: 0;
        color: #FFF;
    }
    .summaries a {
        color: #FFF;
    }
    .header-bg,
    .header {
        left: 0;
        margin: 0 auto;
        position: absolute;
        right: 0;
        z-index: 106;
        height: 90px;
        padding: 40px 0;
    }
    .header-bg {
    	padding: 40px 0;
        background: #289CD8;
        mix-blend-mode: multiply;
    }
    .top-info .inner {
        text-align: right;
        padding: 0;
    }
	.inner ul{
		margin:0;
	}
	.inner li {
        display: inline-block;
    }
	.email {
        margin-right: 30px;
    }
	.email a {
        color: #fff !important;
        font-size: 20px;
        padding-left: 5px;
    }
	.inner  img {
        vertical-align: middle;
    }
	.phone a {
        color: #fff !important;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 1px;
        padding-left: 5px;
    }
    #mob-nav {
        display: none;
    }
    h3.tel a {
        color: #72B626;
    }
/* ==== slider ==== */
	body,html{
        height: 100%;
        min-height: 100%;
    }
    .slider {
        height: 100%;
        margin-bottom: 20px;
        position: relative;
    }
    .flexslider{
        height: 100%;
    }
    .flex-viewport {
        height: 100%;
    }
    .flexslider .slides {
        height: 90%;
    }
    .flexslider .slides > li{
        height: 100%;
    }

.flexslider .slides > li .container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

	.slider {
        margin-bottom: 20px;
    }
	.slide-caption {
        margin-bottom: 520px;
		margin-left:-200px;
    }
    .side-content .suggestion {
        display: none;
    }
    .suggestion {
        position: absolute;
        right: 0;
        top: 200px;
        z-index: 50;
    }

    .suggestion h3 {
        background: #2da6dd none repeat scroll 0 0;
        font-weight: 200;
        margin-bottom: 15px;
        padding: 5px 50px 10px 77px;
        text-align: right;
    }
	.suggestion h3 a{
		color:#fff;
	}

	.suggestion h3:hover {
    background: #1780b0;
}
/* ==== info ==== */
	.info.{
        margin-bottom: 20px;
    }
	.title {
        background: #2da6dd none repeat scroll 0 0;
        display: table;
        float: left;
        height: 60px;
        margin-bottom: 20px;
        margin-right: 20px;
        text-align: center;
        width: calc(50% - 10px);
    }
    
    .title2 {
        background: #2da6dd none repeat scroll 0 0;
        display: table;
        float: left;
        height: 40px;
        margin-bottom: 30px;
        margin-right: 20px;
        text-align: center;
        width: calc(50% - 40px);
    }
    
    .title3 {
        background: #2da6dd none repeat scroll 0 0;
        display: table;
        float: right;
        height: 40px;
        margin-bottom: 30px;
        margin-right: 20px;
        text-align: center;
        width: calc(50% - 40px);
    }

	.title4 {
	border:solid 2px black;
	background: #2da6dd none repeat scroll 0 0;
        display: table;
        float: left;
        height: 60px;
        margin-bottom: 20px;
        margin-right: 40px;
        text-align: center;
	width: calc(50% - 50px);
}

.title:nth-of-type(even) {
    margin-right: 0;
}
	.title h3 {
        color: #fff;
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
    }


.title h4 {
        color: #fff;
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
	font-size:14px;


    }

.title4 h4 {
        color: #fff;
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
	font-size:14px;
    }
    
    .title2 p {
        color: #fff;
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
    }
    
    .title3 p {
        color: #fff;
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
    }

.title4 p {
        color: #fff;
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
    }

.title h3 a {
    color: #FFF;
}
.title h3:hover {
    background: #1780b0;
}

.title h4 a {
    color: #FFF;
}
.title h4:hover {
    background: #1780b0;
}

.title4 h4 a {
    color: #FFF;
}
.title4 h4:hover {
    background: #1780b0;
}

.title2 p a {
    color: #FFF;
}
.title2 p:hover {
    background: #1780b0;
}

.title3 p a {
    color: #FFF;
}
.title3 p:hover {
    background: #1780b0;
}

.title4 p a {
    color: #FFF;
}
.title4 p:hover {
    background: #1780b0;
}



/* ==== page content ====*/
    .page-content h1 {
        color: #1b335b;
        font-size: 30px;
        font-weight: 600;
    }
    .page-links li a {
        text-decoration: underline;
        color: #2da6dd;
        font-weight: 700;
    }
/* ===== HERO ===== */

    .hero img {
        margin-bottom: 20px;
  		display: block;
    	max-width: 100%;
    }
    .sub .slider {
        height: auto;
    }
    .hero-image {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        height: 600px;
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
    }

/* ===== FEATURES ===== */

    .features {
        margin-bottom: 20px;
    }
    .features a {
        display: block;
        position: relative;
        opacity: 1;
    }
    .features a:hover {
        opacity: .8;
    }
    .features img {
        width: 100%;
        display: block;
    }
    .features span {
        position: absolute;
        box-sizing: border-box;
        bottom: 0;
        z-index: 100;
        width: 100%;
        padding: 15px 10px;
        background: #000; /* IE Fix */
        background: rgba(0, 0, 0, 0.65);
        color: #FFF;
        font-size: 18px;
    }

/* ===== CTA ===== */

    .cta .cta-feature {
        text-align: center;
        padding: 15px 8px;
        background: #F1F1F1;
        margin-bottom: 20px;
        box-shadow: 0 8px 10px -8px #666;
    }
    .cta h3.tel {
        font-size: 22px;
        line-height: 26px;
    }
    .cta h4.email {
        font-size: 18px;
        line-height: 22px;
    }

/* ==== advertisement ====*/
	.advertisement img{
		width:100%;
	}
    .advertisement h3 {
        color: #1b335b;
        font-size: 24px;
        font-weight: 600;
    	margin-bottom:15px;
    }
	.the-estas > li {
        float: left;
        margin-bottom: 20px;
        margin-right: 2%;
        width: calc(100% / 2 - 2%);
    }
	.cv-maganize {
        margin-bottom: 10px;
    }
	.pali-ltd {
        margin-bottom: 50px;
    }
	.accred li {
        display: table-cell;
        margin-right: 2%;
        width: calc(100% / 3 - 4%);
        vertical-align: middle;
    }
/* ==== GALLERY ===== */

    .galleryImg {
        padding: 10px 0;
    }
    .galleryImg .galleryGrid {
        padding: 0;
        margin: 0 20px 10px 0;
        width: calc(25% - 15px);
        float: left;
    }
    .galleryImg .galleryGrid:nth-of-type(4n) {
        margin: 0 0 10px 0;
    }
    .galleryImg .galleryGrid img {
        width: 100%;
    }

/* ===== FOOTER ===== */

    #footer > div > div {
        background: none;
        padding-top: 20px;
    }
    #footer .inner {
        padding: 0 10px;
    }
	#footer a, a:visited {
        color: #777;
        outline: 0 none;
        text-decoration: none;
    }
    #footer .menu ul {
        display: block; 
        margin: 0;
    }
    #footer .menu li {
        display: inline-block;
        border-right: 1px solid #777;
        padding-right: 10px;
        margin-right: 10px;
  		margin-bottom: 0;
    }
    #footer .menu li:last-child {
        border: 0;
        padding: 0;
        margin: 0;
    }
    .web-dev {
        text-align: right;
    }
	.web-dev .inner {
        margin-top: 100px;
    }

/* Above Mobile Sizes (devices and browser) ============================= */
@media only screen and (min-width: 768px) {

    [off-canvas*=main-menu] {
        display: none !important;
    }
    [canvas*=container] {
        transform: none !important;
    }
    #mob-top {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #333;
        height: 45px;
        z-index: 1000;
        display: none;
    }
    #mob-top .inner {
        position: relative;
        width: 1180px;
        margin: 0 auto;
    }

}

/* Tablet Portrait size to standard 960 (devices and browsers) ========== */
@media only screen and (min-width: 960px) and (max-width: 1279px) {

    #mob-top .inner {
        width: 940px;
    }    
    #main-nav div > ul a {
        font-size: 16px;
        padding: 0 10px;
    }
    .slide-caption {
        margin-bottom: 200px;
        left:0;
    }
    .slide-caption h3 {
        font-size: 28px;
        font-weight: 600;
        line-height: 38px;
    }
    .hero-image {
        height: 400px;
        max-width: 100%;

    }
    .suggestion {
        position: absolute;
        right: 0;
        top: 190px;
        z-index: 106;
    }
	.side-content .suggestion {
		display: none;
	}
    .advertisement h3 {
        font-size: 22px;
    }
}

/* Tablet Portrait size to standard 960 (devices and browsers) ========== */
@media only screen and (min-width: 768px) and (max-width: 959px) {

    tabhide, .tabhide {
		display: none !important;
    }
    #mob-top .inner {
        width: 748px;
    }    
    .features span {
        font-size: 14px;
        padding: 6px 10px;
    }
    .cta h3.tel { 
    
    }
    .cta h4.email { 
    
    }
    .slider {
        height: auto;
    }
    .header {
        margin: 10px auto;
    }
    #main-nav div > ul a {
        padding: 0 6px;
    }
    .suggestion {
        top: 180px;
    }
    .suggestion h3 {
        background: #2da6dd none repeat scroll 0 0;
        font-weight: 200;
        margin-bottom: 10px;
        padding: 2px 30px 7px 40px;
        text-align: right;
        font-size: 22px;
    }
 	.slide-caption {
        margin-bottom: 79px;
        margin-left:0px;
        width: 52%;
    }  
    .slide-caption h3 {
        font-size: 22px;
        line-height: 30px;
    }

}

/* All Mobile Sizes (devices and browser) =============================== */
@media only screen and (max-width: 767px) {

    mobhide, .mobhide {
    	display: none !important;
    }
    .header-bg {
        padding: 10px 0;
    }    
    .header {
        padding-top: 20px;
        margin: 0 auto;
    }
    #main-nav {
        display: none;
    }
    #mob-top {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 100;
        width: 100%;
        background: #289CD8;
        mix-blend-mode: multiply;
    }
    .tel-button {
        float: left;
    }
    .tel-button a {
        display: block;
        height: 45px;
    }
    .summaries {
        right: 10px;
    }
    .top-logo {
        text-align: center;
    }
    .top-logo img {
        height: auto;
        max-height: 90px;
        max-width: 70%;
    }
    .top-info .inner {
        padding-top: 10px;
    }
    .top-info h3 {
        display: none !important;
    }
	.suggestion *, .info * {
		font-size: 16px !important;
		line-height: 20px;
	}
	.title {
		height: 40px;
	}
    .page-content h1 {
        font-size: 24px;
        line-height: 26px;
    }
    #footer {
        background: #F1F1F1;
        padding-bottom: 20px;
        text-align: center;
    }
    .web-dev {
        text-align: center;
    }
    .cta .cta-feature {
        text-align: center;
    }
    .features .four.columns {
        width: calc(50% - 5px);
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .features .four.columns:nth-child(even) {
        margin-right: 0;
    }
    .features span {
        font-size: 14px;
        padding: 6px 10px;
    }
	.galleryImg .galleryGrid {
        width: calc(50% - 10px);
    }
    .galleryImg .galleryGrid:nth-of-type(2n) {
        margin: 0 0 10px 0;
    }
    .slider {
        height: auto;
        margin-bottom: 20px;
        position: relative;
    }
    .flexslider{
        min-height: 300px;
        margin-bottom: 20px;
    }
    .flex-viewport {
        height: auto;
    }
    .flexslider .slides {
        height: auto;
    }
    .flexslider .slides > li{
        height: auto;
    }
	.hero-image {
		height: 300px;
	}
	.side-content .suggestion {
		display: block;
	}
	.hero-image .suggestion {
		display: none;
	}	
    .suggestion {
        position: static;
        right: 0;
        top: 0;
        z-index: 106;
        width: 90%;
        margin: 0 auto;
    }
    .four.columns.top-logo {
        width: 200px;
    }
	.twelve.columns.top-info {
        float: right;
        width: 218px;
    }
    .email {
        margin-right: 0;
    }
    .slider li .container {
        bottom: 40px;
        left: 0;
        position: absolute;
        right: 0;
    }
    
    .slide-caption h3 {
        font-size: 24px;
        line-height: 28px;
        text-align: center;
        text-shadow: 0 1px 2px #000, 0 1px 2px #000;
        margin-bottom: 0;
        font-weight: 700;
    }
    .title p {
        font-size: 22px;
        line-height: 26px;
    }
    
    .title2 p {
        font-size: 14px;
        line-height: 46px;
    }

.title4 p {
        font-size: 22px;
        line-height: 26px;
    }
    .top-info .inner {
        padding-top: 0;
    }
    
    .suggestion h3 {
    padding: 0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: 400;
    }
    .web-dev .inner {
        margin-top: 0;
    }
    .slide-caption {
        margin-bottom: 20px;
        margin-left:0px;
    }
}

/* Mobile Portrait Only (devices and browsers) ========================== */
@media only screen and (max-width: 479px) {

	.four.columns.top-logo {
        width: 138px;
    }
    .top-logo img {
        height: auto;
        max-height: 90px;
        width: 100%;
    }
    .twelve.columns.top-info {
        float: right;
        width: 175px;
    }
    .email a {
        font-size: 18px;
    }
    .phone a {
        font-size: 16px;
    }
    .slide-caption h3 {
        font-size: 22px;
        line-height: 26px;
        padding: 5px;
        font-size: 20px;
        line-height: 1;
    }
    .inner li {
        display: inline-block;
        margin-bottom: 4px;
    }
    .suggestion {
        width: calc(100% - 40px);
    }
    .title {
        width: 100%;
    }
.title4 {
        width: 100%;
    }
}


/* Mobile Portrait Only (devices and browsers) ========================== */
@media only screen and (max-width: 399px) {

    .features .four.columns {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .features .four.columns:nth-child(even) {
        margin-right: 0;
    }
    .four.columns.top-logo {
        width: 110px;
    }
    .twelve.columns.top-info {
        float: right;
        width: 170px;
    }
    .email a {
        font-size: 16px;
    }
     .phone a {
        font-size: 16px;
    }
   button{color:#22a4fa;} .slide-caption h3 {
        font-size: 18px;
        line-height: 20px;
        text-align: center;
    }
    .flexslider .slides > li {
        min-height: 255px;
    }
    .slider li .container {
        bottom: 40px;
    }

}

/* Mobile Portrait Only (devices and browsers) ========================== */
@media only screen and (max-width: 399px) {

    .top-logo img {
        max-width: 90%;
    }
    
}

/* ===== Fixes ===== */

    .ie7 .features span, .ie8 .features span {
        font-size: 22px; 
    }


