/* Global */

img {
	max-width: 100%;
}
.background {
	background-color: #FFF;
	width: 100%;
    height: 100%;
}
.center {
	width: 100%;
    margin: 0 auto;
}
.inner {
    margin: 0 auto; 	
}
/*#page-services img {
	height: 50px;
	width: auto;
}*/
h1 {
	margin-top: 10px;
	margin-bottom: 0px;
}
p {
	margin-bottom: 0px;
	margin-top: 0px;
}
h4 {
	margin-bottom: 0px;
	margin-top: 0px;
}

float_right {
	float: right;
}

button {
	width: 100%;
    margin-top: 10px;
    background-color: #FFF;
    border: none;
    padding: 5px;
	color: #888888;
	border: 1px solid #CCC;
	border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

.purple:hover {
    box-shadow:0 0 8px #5c5edc;
    -moz-box-shadow:0 0 2px #5c5edc;
    -webkit-box-shadow:0 0 2px #5c5edc;
}	
colorPurple {
	color: #5c5edc;
}

colorPurple:hover {
	color: #000;
}

#instafeed {
	overflow: hidden;
}

#instafeed-small{
	display: none;
}

#instafeed img {
	height: auto;
	width: 20%;
	padding: 15px;
}

.seo {
	font-size: 1pt;
	color: #fff;
}

.port_container {
  position: relative;
  width: 100%;
}

.port_image {
  display: block;
  width: 100%;
  height: auto;
}

.port_overlay {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 5%;
  right: 5%;
  height: 90%;
  width: 90%;
  opacity: 0;
  transition: .7s ease;
  background-color:rgba(255,255,255,0.85);
}

.port_container:hover .port_overlay {
  opacity: 1;
}

.port_text {
	color: #000;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	cursor: default;
}

.port_text p {
	margin: 0
}

.port_text p:hover{
	color: #5c5edc;
	cursor: pointer; 
	transition: .5s ease;
}

.hidden {
	display: none;
}


/* --------------------------------------------------------------  Frames  */ 
.responsive-iframe-container {
	background-color: #FFF;
    position: relative;
    padding-bottom: 0px;
    padding-top: 0px;
    height: 100vh;
}
 
.responsive-iframe-container iframe,   
.vresponsive-iframe-container object,  
.vresponsive-iframe-container embed {
	background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

/* ------------------------------------------------------------  FORMS  */

#textarea {
    border:1px solid #CCC;
    outline:none;
	border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
	padding: 5px;
	margin-top: 10px;
	width: 100%;
}
#textarea:focus {
    border:1px solid #CCC;
    box-shadow:0 0 8px #5c5edc;
    -moz-box-shadow:0 0 2px #5c5edc;
    -webkit-box-shadow:0 0 2px #5c5edc;
}
#submit {
	border: 0px;
	border-radius:1px;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
	background-color: FFF;
	float: right;
	color: #666;
	padding: 5px;
	margin-top: 10px;
}
#submit:hover {
    box-shadow:0 0 8px #5c5edc;
    -moz-box-shadow:0 0 2px #5c5edc;
    -webkit-box-shadow:0 0 2px #5c5edc;
}	

#back_button {
	border: 0px;
	border-radius:1px;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
	background-color: FFF;
	color: #666;
	padding: 5px;
	margin-top: 10px;
}
#back_button:hover {
    box-shadow:0 0 8px #666;
    -moz-box-shadow:0 0 2px #666;
    -webkit-box-shadow:0 0 2px #666;	
	-webkit-animation: flash .5s;
	animation: flash .5s;
}	


/* ----------------------------------------------------------------  FADING BACKGROUND  */

.cb-slideshow,
.cb-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
}
.cb-slideshow:after { 
    content: '';
    background: transparent url(../images/pattern.png) repeat top left; 
}
.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 48s linear infinite 0s;
    -moz-animation: imageAnimation 48s linear infinite 0s;
    -o-animation: imageAnimation 48s linear infinite 0s;
    -ms-animation: imageAnimation 48s linear infinite 0s;
    animation: imageAnimation 48s linear infinite 0s; 
}
.cb-slideshow li div { 
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    -webkit-animation: titleAnimation 48s linear infinite 0s;
    -moz-animation: titleAnimation 48s linear infinite 0s;
    -o-animation: titleAnimation 48s linear infinite 0s;
    -ms-animation: titleAnimation 48s linear infinite 0s;
    animation: titleAnimation 48s linear infinite 0s; 
}
.cb-slideshow li div h3 { 
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 240px;
    padding: 0;
    line-height: 200px; 
}
.cb-slideshow li:nth-child(1) span { 
    background-image: url(../images/1.jpg) 
}
.cb-slideshow li:nth-child(2) span { 
    background-image: url(../images/2.jpg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(../images/3.jpg);
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(../images/4.jpg);
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) span { 
    background-image: url(../images/5.jpg);
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) span { 
    background-image: url(../images/6.jpg);
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s; 
}
.cb-slideshow li:nth-child(7) span { 
    background-image: url(../images/7.jpg);
    -webkit-animation-delay: 36s;
    -moz-animation-delay: 36s;
    -o-animation-delay: 36s;
    -ms-animation-delay: 36s;
    animation-delay: 36s; 
}
.cb-slideshow li:nth-child(8) span { 
    background-image: url(../images/8.jpg);
    -webkit-animation-delay: 42s;
    -moz-animation-delay: 42s;
    -o-animation-delay: 42s;
    -ms-animation-delay: 42s;
    animation-delay: 42s; 
}
.cb-slideshow li:nth-child(2) div { 
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) div { 
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) div { 
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) div { 
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) div { 
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s; 
}
.cb-slideshow li:nth-child(7) div { 
    -webkit-animation-delay: 36s;
    -moz-animation-delay: 36s;
    -o-animation-delay: 36s;
    -ms-animation-delay: 36s;
    animation-delay: 36s; 
}
.cb-slideshow li:nth-child(7) div { 
    -webkit-animation-delay: 42s;
    -moz-animation-delay: 42s;
    -o-animation-delay: 42s;
    -ms-animation-delay: 42s;
    animation-delay: 42s; 
}
/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
/* Animation for the title */
@-webkit-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}

@media screen and (max-width: 1140px) { 
    .cb-slideshow li div h3 { font-size: 140px }
}
@media screen and (max-width: 600px) { 
    .cb-slideshow li div h3 { font-size: 80px }
}


/*  ------------------------------------------------------------------ Phone */
@media screen and (max-width: 480px) {

.inner {
	display: table;
	margin: 0 auto;
}

.responsive-iframe-container {	
	-webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    padding-bottom: 100%;
}
#instafeed {
	display: none;
}

#instafeed-small {
	display: block;
	padding-top: 20px;
	overflow: hidden;
}

#instafeed-small img {
	height: auto;
	width: 45%;
	padding: 5px;
}
}

