/*
Theme Name: Parafoil
Author: Novage Communications
Author URI: http://novage.com.sg/
Description: Theme for Parafoil website
Version: 1
Text Domain: parafoil
*/

html { background: #fff; font: 14px/22px "Open Sans", sans-serif; color: #666; height: 100%; }
body { margin: 0; height: 100%; }
input, select, option, textarea { font: 14px/22px "Open Sans", sans-serif; color: #666; padding: 5px; }

a { text-decoration: none; color: #000; }

img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

.color-paris-m,
  a:hover,
  #main-nav .current-menu-item a,
  #product-thumbnail-list > .fa:hover { color: #342a89; }

.list-1,
  .menu,
  .sub-menu,
  .project-list,
  .carousel,
	.wpml-ls-legacy-list-horizontal ul,
  #product-list,
  #product-content-list,
  #media-list { margin: 0; padding: 0; list-style: none; }

.dot { background: red; position: absolute; }

.click-for-gallery { cursor: pointer; }

.project-list > li { display: inline-block; margin: 0 6px; }
.project-list img { width: 100px; height: auto; }

.videoWrapper { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; }
.videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.caroufredsel_wrapper { padding-bottom: 1px; }

.loose-text { max-width: 960px; margin-left: auto; margin-right: auto; }

aside.left { float: left; width: 33%; }
aside.left + .content.right { float: right; width: 63%; }
aside.left #media-list li { float: none; width: auto; display: block; padding: 0; margin: 1em 0 3em; }

.wpml-ls-legacy-list-horizontal { padding: 0 20px 16px 0; height: auto; }
.wpml-ls-legacy-list-horizontal:after { content: ''; display: block; clear: both; }
.wpml-ls-legacy-list-horizontal ul { float: right; }
.wpml-ls-legacy-list-horizontal li { float: left; margin-left: .3em; border-left: 1px solid #666; padding-left: .3em; }
.wpml-ls-legacy-list-horizontal li:first-child { border-left: none; }
.wpml-ls-legacy-list-horizontal a { font-size: 1em; }
.wpml-ls-legacy-list-horizontal .wpml-ls-current-language { font-weight: bold; }

#site-title { margin: 0; padding: 18px 0 30px; text-align: center; }
#site-title img { max-width: 76%; height: auto; }

#sidebar-toggler { position: absolute; z-index: 5; top: 3px; left; 0; background: rgba(0,0,0,.8); color: #fff; padding: 7px; border-radius: 0 4px 4px 0; cursor: pointer; display: none; }
#sidebar { width: 260px; text-align: right; background: #fff; box-shadow: 0 0 4px #000; position: fixed; top: 0; left: 0; height: 100%; z-index: 4; }

#sidebar .contact,
  #social-follow-container,
  #copyright { padding: 16px 20px 16px 0; border-bottom: 1px dashed #ccc; }

#sidebar .contact .fa { width: 20px; color: #000; }
#sidebar .contact a { color: #666; }

#main-nav a { display: block; padding-right: 20px; }
#main-nav > .menu > li { border: 0 dashed #ccc; border-bottom-width: 1px; }
#main-nav > .menu > li:first-child { border-top-width: 1px; }
#main-nav > .menu > li > a { padding-top: 8px; padding-bottom: 8px; text-transform: uppercase; font-weight: 700; }
#main-nav .menu-item-has-children { padding-bottom: 8px; }
#main-nav .menu-item-has-children > a { padding-bottom: 2px; }
#main-nav .sub-menu { font-size: 12px; line-height: 1.5; }

#social-follow-container h4 { margin: 0 0 8px; }
#menu-social-follow li { display: inline-block; }
#menu-social-follow a { display: inline-block; width: 32px; height: 32px; line-height: 32px; background: #000; color: #fff; text-align: center; font-size: 16px; }
#menu-social-follow a:before { display: block; font-family: FontAwesome; }
#menu-social-follow span { display: none; }

#menu-social-follow .dribbble a:before { content: "\f17d"; }
#menu-social-follow .facebook a:before { content: "\f09a"; }
#menu-social-follow .instagram a:before { content: "\f16d"; }
#menu-social-follow .twitter a:before { content: "\f099"; }
#menu-social-follow .youtube a:before { content: "\f167"; }
#menu-social-follow .vimeo a:before { content: "\f194"; }

#copyright { border: none; font-size: 12px; line-height: 18px; }
#design-by { opacity: .3; }

#certs { text-align: center; position: absolute; width: 100%; left: 0; bottom: 10px; }
#certs img { height: 40px; width: auto; margin-left: 10px; }
#certs img:first-child { margin-left: 0; }

#content { background: url(/images/background-home.jpg); background-size: cover; margin-left: 260px; min-height: 100%; position: relative; overflow: auto; padding-left: 20px; padding-right: 20px; color: #fff; text-align: justify; }

#page-title { margin: 0; padding-top: 12px; }

/* #profile-flow-chart { position: absolute; top: 0; right: 0; max-width: 80%; max-height: 100%; width: auto; height: auto; } */

/* Circular product list
#product-list { position: relative; height: 100%; z-index: 1; }
#product-list > li { position: absolute; }
#product-list > li .content { display: none; }
#product-list > li  .feature-image { width: 64px; height: auto; position: absolute; top: -32px; left: -32px; cursor: pointer; }

#product-content-block { position: absolute; left: 0; bottom: 0; text-align: center; width: 100%; }
#product-content-block .gallery-main-image { max-width: 40%; max-height: 40%; width: auto; height: auto; margin-bottom: 12px; }
#product-content-block .sub-gallery img { max-width: 80px; height: auto; margin: 0 6px; cursor: pointer; }
#product-content-block p { display: none; }
*/

#product-thumbnail-list { padding: 0 30px; position: relative; margin-bottom: 20px; }
#product-thumbnail-list > .fa { position: absolute; top: 50%; margin-top: -35px; font-size: 64px; color: rgba(255,255,255,.8); text-shadow: 0 0 3px #000; }
#product-thumbnail-list > .fa:hover { color: #fff; }
#product-thumbnail-list .carousel-prev { left: 0; }
#product-thumbnail-list .carousel-next { right: 0; }

#product-thumbnail-list .carousel > li { float: left; width: 120px; height: 120px; line-height: 120px; margin: 0 20px; text-align: center; cursor: pointer; }
#product-thumbnail-list .carousel img { max-width: 100%; max-height: 100%; width: auto; height: auto; vertical-align: middle; padding: 2px; background: #fff; border: 1px solid #000; box-sizing: border-box; }

#product-content-list { text-align: center; }
#product-content-list > li { display: none; }
#product-content-list .gallery-main-image { max-width: 35%; height: auto; padding: 3px; background: #fff; border: 1px solid #000; box-sizing: border-box; }
#product-content-list h3 { font-size: 26px; line-height: 1.5; margin-bottom: 0; }
#product-content-list p { display: none; }
#product-content-list .sub-gallery img { max-width: 100px; max-height: 100px; width: auto; height: auto; margin: 10px; cursor: pointer; padding: 2px; background: #fff; border: 1px solid #000; box-sizing: border-box; }

#contact-content { background: #fff; padding: 20px; width: 300px; margin: 20px 0 0 20px; }

/****** Page Specific *****/

/* Profile page */
.page-id-6 .mfp-container { padding: 0; }
.page-id-6 .mfp-content { background: #000; }

#profile-text { width: 90%; margin: 0 auto; max-width: 900px; color: #fff; font-size: 16px; line-height: 1.5em; }
#profile-text .mfp-close { color: #eee; }

/* Products page */
/* .page-id-8 #content > .page-title { position: absolute; top: 0; left: 0; } */
.page-id-6 #content > .page-title { display: none; }

.page-id-6 #content { margin-left: 260px; margin-right: 0; overflow: hidden; }

#profile-background-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: right top; z-index: 1; }
#profile-background-animation > div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: right top; z-index: 1; }
#profile-background-animation > .one { background-image: url(/wordpress/wp-content/themes/parafoil/images/background-profile-1.jpg); }
#profile-background-animation > .two { background-image: url(/wordpress/wp-content/themes/parafoil/images/background-profile-2.jpg); }
#profile-background-animation > .three { background-image: url(/wordpress/wp-content/themes/parafoil/images/background-profile-3.jpg); }
#profile-background-animation > .four { background-image: url(/wordpress/wp-content/themes/parafoil/images/background-profile-4.jpg); }


#main-droplet { position: absolute; top: 50%; left: 0; margin-top: -10%; width: 100%; z-index: 3; }
#main-droplet img { float: left; margin: 0 2%; height: auto; transition: 2s; }
#main-droplet .fade { opacity: 0; }
#main-droplet .minus-one { margin-top: 6%; }
#main-droplet > .one { margin-top: 3%; }
#main-droplet > .two { margin-top: 7%; }
#main-droplet > .four { margin-top: 5%; }
#main-droplet > .five { margin-top: 3%; }
#main-droplet > .six { margin-top: 4.5%; }

#background-droplet { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 2; }
#background-droplet > img { position: absolute; width: 2%; height: auto; transition: 2s; }
#background-droplet > img:nth-child(1) { top: 5%; left: 2%; width: 5%; } 
#background-droplet > img:nth-child(2) { top: 2%; left: 10%; width: 2%; } 
#background-droplet > img:nth-child(3) { top: 10%; left: 20%; width: 3%; } 
#background-droplet > img:nth-child(4) { top: 8%; left: 40%; width: 4%; } 
#background-droplet > img:nth-child(5) { top: 2%; left: 60%; width: 2.5%; } 
#background-droplet > img:nth-child(6) { top: 2%; left: 90%; width: 1.5%; } 
#background-droplet > img:nth-child(7) { top: 32%; left: 19%; width: 1.1%; }
#background-droplet > img:nth-child(8) { top: 26%; left: 81%; width: 2%; } 
#background-droplet > img:nth-child(9) { top: 84%; left: 11%; width: 3%; } 
#background-droplet > img:nth-child(10) { top: 90%; left: 40%; width: 4%; } 
#background-droplet > img:nth-child(11) { top: 90%; left: 90%; width: 2%; } 
#background-droplet> .fade { opacity: 0; }

/* Media */
#media-list { text-align: center; }
#media-list li { padding: 16px; float: left; width: 33.333%; box-sizing: border-box; }
#media-list li:nth-child(3n+4) { clear: both; }
#media-list h3 { font-size: 15px; }

/* Call Us page */
.page-template-template-call-us-php #content { margin-left: 260px; padding: 20px 0 0 20px; color: inherit; box-sizing: border-box; }
.page-template-template-call-us-php #content > .inner { float: left; padding: 20px; background: rgba(255, 255, 255, .8); }
.page-template-template-call-us-php #content > .inner:after { content: ''; display: block; clear: both; }
.page-template-template-call-us-php #content > .inner > .page-title { margin-top: 0; }

.page-template-template-call-us-php #content .text-block { float: left; margin-right: 20px; }
.page-template-template-call-us-php #content .wpcf7 { float: left; }

@media screen and ( max-height: 680px ) {
  #site-title { padding: 10px 0 20px; }
  
  #main-nav > .menu > li > a { padding-top: 6px; padding-bottom: 6px; }
  #main-nav .menu-item-has-children { padding-bottom: 6px; }
  
  #sidebar .contact,
    #social-follow-container,
    #copyright { padding-top: 8px; padding-bottom: 8px; }
}

@media screen and ( max-height: 590px ) {
  #site-title { padding: 5px 0 10px; }
  
  #main-nav > .menu > li > a { padding-top: 2px; padding-bottom: 2px; }
  #main-nav .menu-item-has-children { padding-bottom: 2px; }
  #main-nav .menu-item-has-children > a { padding-bottom: 0; }

  #sidebar .contact { font-size: 12px; line-height: 16px; }
  #social-follow-container h4 { margin: 0; }
  #copyright { font-size: 10px; line-height: 12px; }
  #certs img { height: 30px; }
}

@media screen and ( max-height: 490px ) {
  #social-follow-container { display: none; }
}

@media screen and ( max-height: 420px ) {
  #certs { display: none; }
}

@media screen and ( max-width: 2000px ) {
  #main-droplet img { margin: 0 2%; }
}

@media screen and ( max-width: 1700px ) {
  #main-droplet img { width: 140px; }
  #main-droplet .small { width: 100px; }
  
  #product-content-list .gallery-main-image { max-width: 50%; }
}

@media screen and ( max-width: 1500px ) {
  /*  #profile-text { font-size: 12px; line-height: 16px; } */
  
  #main-droplet img { margin: 0 1.5%; }
}

@media screen and ( max-width: 1200px ) {
  /* #profile-text { font-size: 11px; line-height: 12px; } */
  
  #main-droplet > img { width: 100px; }
  #main-droplet > .small { width: 70px; }
  
  #media-list li { width: 50%; }
  #media-list li:nth-child(3n+4) { clear: none; }
  #media-list li:nth-child(2n+3) { clear: both; }
}

@media screen and ( max-width: 1000px ) {
  /*
  #profile-flow-chart { max-width: 100%; position: static; }
  #profile-text { font-size: 14px; line-height: 20px; width: auto !important; } */
}

@media screen and ( max-width: 900px ) {
  #main-droplet { margin-top: -20%; text-align: center;  }
  #main-droplet > img { float: none; vertical-align: top; }
  
  #product-content-list .gallery-main-image { max-width: 70%; }
}

@media screen and ( max-width: 900px ) {
  #main-droplet img { width: 110px; }
  #main-droplet .small { width: 80px; }
}

@media screen and ( max-width: 760px ) {
	aside.left,
		aside.left + .content.right { float: none; width: auto; }
}

@media screen and ( max-width: 700px ) {
  #media-list li { width: 100%; }
  #media-list li:nth-child(2n+3) { clear: none; }
  
  .page-template-template-call-us-php #content > .inner { float: none; }
  .page-template-template-call-us-php #content .wpcf7-text, 
    .page-template-template-call-us-php #content .wpcf7-textarea { box-sizing: border-box; width: 100%; }
}

@media screen and ( max-width: 560px ) {
  #sidebar { width: 180px; }
  #sidebar .contact { font-size: 11px; line-height: 16px; }
  #sidebar .contact .fa { width: 14px; }
  #menu-social-follow a { width: 26px; height: 26px; line-height: 26px; font-size: 14px; }
  #copyright { font-size: 10px; line-height: 12px; }
  
  #content { margin-left: 180px; }
  
  #product-content-list .gallery-main-image { max-width: 100%; }
  
  .page-id-6 #content,
    .page-id-10 #content { margin-left: 180px; }

  #main-droplet { margin-top: 0; top: 5%; }
  
  
  .page-template-template-call-us-php #content { margin-left: 181px; }
}

@media screen and ( max-width: 420px ) {
  #sidebar-toggler { display: block; }
  #sidebar { display: none; }
  #sidebar.toggled { display: block; }
  
  #content { margin-left: 0; }
  
  #main-droplet img { width: 80px; }
  #main-droplet .small { width: 60px; }
  
  #product-thumbnail-list { margin-bottom: 0; }
  #product-content-list .sub-gallery img { max-width: 50px; max-height: 50px; margin: 10px 5px; }
  #product-content-list h3 { font-size: 20px; line-height: 1.5; }
  
  .page-id-6 #content,
    .page-id-10 #content { margin-left: inherit; }
  
  .page-template-template-call-us-php #content { margin: 0; padding-right: 20px; }
  
  .page-title{ padding-left: 5px; }
}