/*-----------------------------------------------------------------------------------
	pynsource-website
	About: A shiny new Blocs website.
	Author: Andy
	Version: 1.0
	Built with Blocs
-----------------------------------------------------------------------------------*/

/* = Theme
   Light is the default; dark follows the OS. Every colour below comes from these
   variables so the whole site (including Bootstrap's components) switches together.
-------------------------------------------------------------- */

:root{
	color-scheme: light;
	--bg:#F6F6F3;
	--panel:#FFFFFF;
	--panel-alt:#FBFAF7;
	--text:#242424;
	--muted:#525252;
	--border:rgba(0,0,0,.12);
	--border-strong:rgba(0,0,0,.22);
	--link:#0B63C4;
	--brand:#0F6FD6;
	--brand-hover:#0B57A8;
	--frame:#FFFFFF;
	--code:#A21D62;
	--btn-bg:rgba(0,0,0,.35);
	--btn-bg-hover:rgba(0,0,0,.5);
	--btn-text:#FFFFFF;
	--shadow:0 2px 2px rgba(0,0,0,.05);
	--icon-border:rgba(0,0,0,.7);
}
/* Dark palette: a soft graphite rather than black. Keep these two blocks in sync;
   the first follows the OS, the second is the explicit toggle. */
@media (prefers-color-scheme: dark){
	:root:not([data-theme]){
		color-scheme: dark;
		--bg:#22262C;
		--panel:#2A2F36;
		--panel-alt:#313741;
		--text:#E9EAEC;
		--muted:#B7BCC3;
		--border:rgba(255,255,255,.12);
		--border-strong:rgba(255,255,255,.24);
		--link:#7CC0FF;
		--brand:#63B3FF;
		--brand-hover:#8FCBFF;
		--frame:#2A2F36;
		--code:#F2A6C8;
		--btn-bg:rgba(255,255,255,.12);
		--btn-bg-hover:rgba(255,255,255,.2);
		--btn-text:#F3F4F6;
		--shadow:0 2px 8px rgba(0,0,0,.35);
		--icon-border:rgba(255,255,255,.5);
	}
}
:root[data-theme="dark"]{
	color-scheme: dark;
	--bg:#22262C;
	--panel:#2A2F36;
	--panel-alt:#313741;
	--text:#E9EAEC;
	--muted:#B7BCC3;
	--border:rgba(255,255,255,.12);
	--border-strong:rgba(255,255,255,.24);
	--link:#7CC0FF;
	--brand:#63B3FF;
	--brand-hover:#8FCBFF;
	--frame:#2A2F36;
	--code:#F2A6C8;
	--btn-bg:rgba(255,255,255,.12);
	--btn-bg-hover:rgba(255,255,255,.2);
	--btn-text:#F3F4F6;
	--shadow:0 2px 8px rgba(0,0,0,.35);
	--icon-border:rgba(255,255,255,.5);
}

body{
	margin:0;
	padding:0;
	background:var(--bg);
	color:var(--text);
    overflow-x:hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.page-container{overflow: hidden;} /* Prevents unwanted scroll space when scroll FX used. */
a,button{transition: background .3s ease-in-out;outline: none!important;} /* Prevent blue selection glow on Chrome and Safari */
a:hover{text-decoration: none; cursor:pointer;}


/* = Blocs
-------------------------------------------------------------- */

.bloc{
	width:100%;
	clear:both;
	background: 50% 50% no-repeat;
	padding:0 20px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position:relative;
	display:flex;
}
.bloc .container{
	padding-left:0;
	padding-right:0;
}


/* Sizes */

.bloc-lg{
	padding:100px 20px;
}
.bloc-sm{
	padding:20px;
}
/* The first content section does not need a 100px gap below the navbar */
.page-container > .bloc:nth-child(2) .container.bloc-lg{
	padding-top:48px;
}


/* Light theme (colours come from the theme variables, so dark mode follows the OS) */

.d-bloc .card,.l-bloc{
	color:var(--muted);
}
.d-bloc .card button:hover,.l-bloc button:hover{
	color:var(--text);
}
.l-bloc .icon-round,.l-bloc .icon-square,.l-bloc .icon-rounded,.l-bloc .icon-semi-rounded-a,.l-bloc .icon-semi-rounded-b{
	border-color:var(--icon-border);
}
.d-bloc .card .divider-h span,.l-bloc .divider-h span{
	border-color:var(--border);
}
.d-bloc .card .a-btn,.l-bloc .a-btn,.l-bloc .navbar a,.l-bloc a .icon-sm, .l-bloc a .icon-md, .l-bloc a .icon-lg, .l-bloc a .icon-xl, .l-bloc h1 a, .l-bloc h2 a, .l-bloc h3 a, .l-bloc h4 a, .l-bloc h5 a, .l-bloc h6 a, .l-bloc p a{
	color:var(--muted);
}
.d-bloc .card .a-btn:hover,.l-bloc .a-btn:hover,.l-bloc .navbar a:hover, .l-bloc a:hover .icon-sm, .l-bloc a:hover .icon-md, .l-bloc a:hover .icon-lg, .l-bloc a:hover .icon-xl, .l-bloc h1 a:hover, .l-bloc h2 a:hover, .l-bloc h3 a:hover, .l-bloc h4 a:hover, .l-bloc h5 a:hover, .l-bloc h6 a:hover, .l-bloc p a:hover{
	color:var(--text);
}
.l-bloc .navbar-toggle .icon-bar{
	color:var(--muted);
}
.d-bloc .card .btn-wire,.d-bloc .card .btn-wire:hover,.l-bloc .btn-wire,.l-bloc .btn-wire:hover{
	color:var(--muted);
	border-color:var(--border-strong);
}

/* Row Margin Offsets */

.voffset{
	margin-top:30px;
}


/* = NavBar
-------------------------------------------------------------- */

/* Handle Multi Level Navigation */
.dropdown-menu .dropdown-menu{
	border:none}
@media (min-width:576px){
	
.navbar-expand-sm .dropdown-menu .dropdown-menu{
	border:1px solid rgba(0,0,0,.15);
	position:absolute;
	left:100%;
	top:-7px}.navbar-expand-sm .dropdown-menu .submenu-left{
	right:100%;
	left:auto}}@media (min-width:768px){
	.navbar-expand-md .dropdown-menu .dropdown-menu{
	border:1px solid rgba(0,0,0,.15);
	border:1px solid rgba(0,0,0,.15);
	position:absolute;
	left:100%;
	top:-7px}.navbar-expand-md .dropdown-menu .submenu-left{
	right:100%;
	left:auto}}@media (min-width:992px){
	.navbar-expand-lg .dropdown-menu .dropdown-menu{
	border:1px solid rgba(0,0,0,.15);
	position:absolute;
	left:100%;
	top:-7px}.navbar-expand-lg .dropdown-menu .submenu-left{
	right:100%;
	left:auto}
}
/* = Bric adjustment margins
-------------------------------------------------------------- */

.mg-clear{
	margin:0;
}
.mg-sm{
	margin-top:10px;
	margin-bottom:5px;
}
.mg-md{
	margin-top:10px;
	margin-bottom:20px;
}
.mg-lg{
	margin-top:10px;
	margin-bottom:40px;
}

/* = Buttons
-------------------------------------------------------------- */

.btn-d,.btn-d:hover,.btn-d:focus{
	color:var(--btn-text);
	background:var(--btn-bg);
}
.btn-d:hover{
	background:var(--btn-bg-hover);
}

/* Prevent ugly blue glow on chrome and safari */
button{
	outline: none!important;
}

.btn-rd{
	border-radius: 40px;
}
.btn-glossy{
	border:1px solid rgba(0,0,0,.09);
	border-bottom-color:rgba(0,0,0,.2);
	text-shadow:0 1px 0 rgba(0,0,1,.2);
	box-shadow: 0 1px 3px rgba(0,0,1,.35), inset 0 1px 0 0 rgba(255,255,255,.4), inset 0 1px 0 2px rgba(255,255,255,.08);
	background-image: -moz-linear-gradient(bottom, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
	 background-image: -o-linear-gradient(bottom, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
	background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
	background-image: linear-gradient(bottom, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
}
.a-block{
	width:100%;
	text-align:left;
	display: inline-block;
}
.text-center .a-block{
	text-align:center;
}

/* = Icons
-------------------------------------------------------------- */
.icon-md{
	font-size:30px!important;
}
.icon-round{
	margin:0 auto;
	border:2px solid transparent;
	border-radius: 50%;
	padding: 32px 30px 26px 30px;
	min-width:80px;
}
.icon-round.icon-md,.icon-square.icon-md,.icon-rounded.icon-md{
	min-width: 92px;
}
.icon-round.icon-lg,.icon-square.icon-lg,.icon-rounded.icon-lg{
	min-width: 122px;
}
.icon-round.icon-xl,.icon-square.icon-xl,.icon-rounded.icon-xl{
	min-width: 162px;
}

/* Image Frame */
.img-frame,.img-frame-md,.img-frame-lg,.img-frame-rd,.img-frame-rd-md,.img-frame-rd-lg{
	background:var(--frame);
	border:1px solid var(--border);
	box-shadow:var(--shadow);
	padding:4px;
}
.img-frame{
	border-radius:3px;
}
.img-frame-md,.img-frame-lg{
	border-radius:6px;
}
.img-frame-md,.img-frame-rd-md{
	padding:8px;
}
.img-frame-lg,.img-frame-rd-lg{
	padding:14px;
}



/* = Cards
-------------------------------------------------------------- */
.card-sq, .card-sq .card-header, .card-sq .card-footer{
	border-radius:0;
}
.card-rd{
	border-radius:30px;
}
.card-rd .card-header{
	border-radius:29px 29px 0 0;
}
.card-rd .card-footer{
	border-radius:0 0 29px 29px;
}

/* = Dividers
-------------------------------------------------------------- */
.divider-h{
	padding:20px 0;
	width:100%;
	display:inline-block;
}
.divider-h span{
	display: block;
	border-top:1px solid transparent;
}
.divider-half{
	width: 50%;
	margin: 0 auto;
}
.dropdown-menu .divider-h,.dropdown-menu .divider-half{
	padding:0;
}



.carousel-nav-icon{
	fill: none;
	stroke: #fff;
	stroke-width: 2px;
	fill-rule: evenodd;
	stroke-linecap:round;
}


/* ScrollToTop button */

.scrollToTop{
	width:36px;
	height:36px;
	padding:5px;
	position:fixed;
	bottom:20px;
	right:20px;
	opacity:0;
	z-index:999;
	transition: all .3s ease-in-out;
	pointer-events:none;
}
.showScrollTop{
	opacity: 1;
	pointer-events:all;
}
.scroll-to-top-btn-icon{
	fill: none;
	stroke: #fff;
	stroke-width: 2px;
	fill-rule: evenodd;
	stroke-linecap:round;
}
/* = MacBook Devices
-------------------------------------------------------------- */

.blocsapp-device-mb{
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center;
	display: block;
	width:100%;
	height:auto;
	padding: 3.6% 15% 7.5%;
}
.blocsapp-device-mb img{
	width:100%;
	height:auto;
	margin: 0 auto;
}
.blocsapp-device-mb .embed-responsive::before{
	padding-top: 56.25%;
}
.blocsapp-device-mb .embed-responsive{
	padding-bottom: 8%;
}
/* = MacBook Space Grey
-------------------------------------------------------------- */

.mb-space-grey{
	background-image:url("img/Apple-Macbook-Space-Grey.d32b78a07d93.png");
}
/* = Lightbox
-------------------------------------------------------------- */

a[data-lightbox]{
	position: relative;
	display: block;
	text-align: center;
}
a[data-lightbox]:hover::before{
	content:"+";
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial;
	font-size:32px;
	line-height: 42px;
	width:50px;
	height:50px;
	margin-left:-25px;
	border-radius: 50%;
	background:rgba(0,0,0,.5);
	color:#FFF;
	font-weight:100;
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
a[data-lightbox]:hover img{
	opacity: 0.6;
	-webkit-animation-fill-mode: none;
	animation-fill-mode:none;
}
.lightbox-caption{
	padding: 20px;
	color: #FFF;
	background: rgba(0,0,0,.5);
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 5px;
}
.close-lightbox:hover,.next-lightbox:hover, .prev-lightbox:hover{
	background:rgba(0,0,0,.5);
}
.next-lightbox, .prev-lightbox,.close-lightbox{
	position: absolute;
	padding:6px;
	background:rgba(0,0,0,.3);
	line-height:0;
	transition: background .2s ease-in-out;
	border-radius:.25rem;
	border:none;
	z-index:20;
}
.next-lightbox, .prev-lightbox{
	top:45%;
}
.close-lightbox{
	top:20px;
	right:20px;
}
.next-lightbox{
	right:25px;
}
.prev-lightbox{
	left:25px;
}
.lightbox-prev-icon,.lightbox-next-icon,.lightbox-close-icon{
	fill:none;
	stroke: #fff;
	stroke-width: 3px;
	fill-rule: evenodd;
	stroke-linecap:round;
}
.lightbox-close-svg{
	pointer-events:none;
}

/* Framless */
.frameless-lb{
	border-radius: 0;
	border:none;
}
.frameless-lb .modal-body{
	padding:0;
}
.frameless-lb .lightbox-caption{
	left:0;
	right:0;
	bottom:-16px;
}

/* = Custom Styling
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6,p,label,.btn,a{
	font-family:"Helvetica";
}
.container{
	max-width:1170px;
}
.feature-col-mt{
	margin-top:29px;
}
.hero-first-col-mb{
	margin-bottom:30px;
}
.img-style{
	width:500px;
	height:260px;
}
.p-style{
	font-family:"Droid Sans Mono";
	font-size:20px;
}
.andy-courier{
	font-family:"Droid Sans Mono";
}
.link-style{
	font-family:"helvetica";
	font-weight:900;
}
.blue-link{
	color:var(--link)!important;
}
.mono{
	font-family:"Droid Sans Mono";
	font-weight:bold;
}

/* = Colour
-------------------------------------------------------------- */


/* Link colour styles */

.ltc-dodger-blue{
	color:var(--brand)!important;
}
.ltc-dodger-blue:hover{
	color:var(--brand-hover)!important;
}

/* = Theme-aware Bootstrap components
   Bootstrap 4 hardcodes white surfaces and dark text, so override the pieces we use.
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6{
	color:var(--text);
}
.card{
	background-color:var(--panel);
	border-color:var(--border);
}
.card-header,.card-footer{
	background-color:var(--panel-alt);
	border-color:var(--border);
}
.modal-content{
	background-color:var(--panel);
	border-color:var(--border);
	color:var(--text);
}
.form-control,#mc_embed_signup .email{
	background-color:var(--panel);
	border-color:var(--border-strong);
	color:var(--text);
}
.form-control::placeholder,#mc_embed_signup .email::placeholder{
	color:var(--muted);
}
#mc_embed_signup label{
	color:var(--muted);
}
#mc_embed_signup #mc-embedded-subscribe{
	background:var(--btn-bg);
	color:var(--btn-text);
	border:none;
}
.navbar-light .navbar-nav .nav-link,.navbar-light .navbar-brand{
	color:var(--muted);
}
.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link:focus{
	color:var(--text);
}
.navbar-light .navbar-toggler{
	color:var(--muted);
	border-color:var(--border-strong);
}
.close{
	color:var(--text);
	text-shadow:none;
}
:root[data-theme="dark"] .navbar-light .navbar-toggler-icon{
	filter:invert(1);
}
@media (prefers-color-scheme: dark){
	:root:not([data-theme]) .navbar-light .navbar-toggler-icon{
		filter:invert(1);
	}
}

/* Code: Bootstrap leaves pre transparent with near-black text and pink inline
   code, which is unreadable on a dark page. */
pre{
	background:var(--panel-alt);
	border:1px solid var(--border);
	border-radius:6px;
	padding:.75rem 1rem;
	color:var(--text);
}
pre code{
	color:inherit;
}
code{
	color:var(--code);
}

/* Theme toggle in the navbar */
.theme-toggle{
	background:none;
	border:0;
	cursor:pointer;
	line-height:1;
	padding:.5rem .75rem;
	color:var(--muted);
	font-size:1rem;
}
.theme-toggle:hover,.theme-toggle:focus{
	background:none;
	color:var(--text);
}
.theme-toggle i{
	pointer-events:none;
}

/* Gallery thumbnails sit on the page background */
a[data-lightbox] img{
	border:1px solid var(--border);
	border-radius:6px;
}

/* Carousel arrows are white SVG strokes with no chip, so give them one */
.carousel-nav-controls{
	width:46px;
	height:46px;
	top:50%;
	bottom:auto;
	transform:translateY(-50%);
	background:var(--btn-bg);
	border-radius:50%;
	opacity:1;
	padding:10px;
}
.carousel-nav-controls:hover{
	background:var(--btn-bg-hover);
}




/* = Bloc Padding Multi Breakpoint
-------------------------------------------------------------- */

@media (min-width: 576px) {
    .bloc-xxl-sm{padding:200px 20px;}
    .bloc-xl-sm{padding:150px 20px;}
    .bloc-lg-sm{padding:100px 20px;}
    .bloc-md-sm{padding:50px 20px;}
    .bloc-sm-sm{padding:20px;}
    .bloc-no-padding-sm{padding:0 20px;}
}
@media (min-width: 768px) {
    .bloc-xxl-md{padding:200px 20px;}
    .bloc-xl-md{padding:150px 20px;}
    .bloc-lg-md{padding:100px 20px;}
    .bloc-md-md{padding:50px 20px;}
    .bloc-sm-md{padding:20px 20px;}
    .bloc-no-padding-md{padding:0 20px;}
}
@media (min-width: 992px) {
    .bloc-xxl-lg{padding:200px 20px;}
    .bloc-xl-lg{padding:150px 20px;}
    .bloc-lg-lg{padding:100px 20px;}
    .bloc-md-lg{padding:50px 20px;}
    .bloc-sm-lg{padding:20px;}
    .bloc-no-padding-lg{padding:0 20px;}
}


/* = Mobile adjustments 
-------------------------------------------------------------- */
@media (max-width: 1024px)
{
    .bloc.full-width-bloc, .bloc-tile-2.full-width-bloc .container, .bloc-tile-3.full-width-bloc .container, .bloc-tile-4.full-width-bloc .container{
        padding-left: 0; 
        padding-right: 0;  
    }
}
@media (max-width: 991px)
{
    .container{width:100%;}
    .bloc{padding-left: constant(safe-area-inset-left);padding-right: constant(safe-area-inset-right);} /* iPhone X Notch Support*/
    .bloc-group, .bloc-group .bloc{display:block;width:100%;}
}
@media (max-width: 767px)
{
    .bloc-tile-2 .container, .bloc-tile-3 .container, .bloc-tile-4 .container{
        padding-left:0;padding-right:0;
    }
    .btn-dwn{
       display:none; 
    }
    .voffset{
        margin-top:5px;
    }
    .voffset-md{
        margin-top:20px;
    }
    .voffset-lg{
        margin-top:30px;
    }
    form{
        padding:5px;
    }
    .close-lightbox{
        display:inline-block;
    }
    .blocsapp-device-iphone5{
	   background-size: 216px 425px;
	   padding-top:60px;
	   width:216px;
	   height:425px;
    }
    .blocsapp-device-iphone5 img{
	   width: 180px;
	   height: 320px;
    }
}

@media (max-width: 991px){
	.mt-md-0{
	}
	.mt-md-4{
	}
	
}

@media (max-width: 575px){
	.mt-1{
	}
	
}

