#hubPages {display: none;}

.central {top: 98px;}

.screenView
{
	vertical-align: middle;
	display: none;
	height: 90%;
	border-radius: 5px;
	box-shadow: 0px 0px 10px rgba(0,0,0,.5);
	cursor: pointer;
    height: calc(100% - 190px);
}

.central > .content
{
    padding: 0;
    padding-top: 30px;
    padding-bottom: 90px;
	max-width: 900px;
	color: white;
}

.central > .content h1
{
	font-weight: normal;
	font-size: 28px;
	color: white;
    margin-top: 0;
}

.central > .content p
{
	font-size: 16px;
	max-width: 700px;
	line-height: 25px;
    margin: auto;
}

.screen
{
	display: none;
}

.screen:first-child
{
	display: block;
}

.screen input[type=submit],
.screen input[type=reset],
.screen input[type=image],
.screen input[type=button],
.screen button
{
	border: 2px solid white;
	background: white;
	border-radius: 4px;
	padding: 8px 15px;
	min-width: 100px;
	color: rgb(25,25,25);
	font-size: 14px;
	margin: 5px;
	cursor: pointer;
	
	-webkit-transition: all .2s ease;
       -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
}

.screen input.ignore
{
	background: transparent;
	color: white;
}

.screen input[type=submit]:hover,
.screen input[type=reset]:hover,
.screen input[type=image]:hover,
.screen input[type=button]:hover,
.screen button:hover
{
	background: rgb(25,25,25);
	border-color: rgb(25,25,25);
	color: white;
}

/* Barre de navigation */
.toolBar {text-align: center;}

.toolBar li 
{
    margin: 0 5px;
    border-radius: 4px;
}

.toolBar li#back
{
    display: none;
}

.toolBar li *
{
    display: inline-block;
    vertical-align: middle;
}

.toolBar li p
{
    margin: 0 5px;
    font-size: 14px;
	
	-webkit-transition: all .2s ease;
       -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
}

.toolBar li:hover p
{
    color: #fff;
}

/* Plan / onglets */
.pagination
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    
    padding: 0;
    margin: 0;
    list-style: none;
    background: rgba(0,0,0,.8);
    text-align: center;
    font-size: 0;
}

.pagination > li
{
    box-shadow: 0 0 0 #fff inset;
    display: inline-block;
    vertical-align: top;
    padding: 0 15px;
    padding-top: 45px;
    min-width: 150px;
    margin: 0 1px;
    cursor: pointer;
    color: #777;
}

.pagination > li:hover,
.pagination > li.active
{
    background: rgba(255,255,255,.1);
    color: #fff;
}

.pagination > li.active
{
    box-shadow: 0 -2px 0 #fff inset;
    background: rgba(255,255,255,.2);
}

.pagination li p
{
    font-size: 14px;
    margin: 0;
}

.pagination li .slides
{
    padding: 0;
    padding-bottom: 5px;
    margin: 0;
    list-style: none;
    font-size: 0;
}

.pagination li .slides li
{
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    margin: 10px 5px;
    background: #777;
}

.pagination li .slides li:hover,
.pagination li .slides li.active
{
    background: #fff;
}

/* Elements du premier écran */
#logo
{
    height: 70px;
    margin-bottom: 30px;
}

/* Rectangles personnalisation */
.rects
{
	list-style: none;
	padding: 0px;
    margin: 0;
    margin-top: 30px;
	font-size: 0px;
}

.rects li
{
	display: inline-block;
    vertical-align: top;
	text-align: left;
	margin: 10px;
    background-size: cover;
    background-position: center center;
}

.rects li *
{
	margin: 5px;
	display: block;
}

.rects li br
{
	margin: 0;
}

.central > .content .rects li p
{
	font-size: 14px;
	line-height: inherit;
	width: 150px;
    text-align: center;
    text-transform: uppercase;
}

.rects li div
{
	font-size: 14px;
	width: 148px;
	height: 148px;
	background: rgb(200,200,200);
	color: white;
	box-shadow: 0 3px 10px rgba(0,0,0,.3), 0px 0px 0px #fff;
    border: 1px solid #fff;
	border-radius: 7px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-size: cover;
    background-attachment: fixed;
	background-position: center center;
	
	transition-property: box-shadow;
	transition-duration: .3s;
	
	-webkit-transition-property: box-shadow;
	-webkit-transition-duration: .3s;
	
	-moz-transition-property: box-shadow;
	-moz-transition-duration: .3s;
	
	-o-transition-property: box-shadow;
	-o-transition-duration: .3s;
	
	-ms-transition-property: box-shadow;
	-ms-transition-duration: .3s;
}
	
.rects li div:hover
{
	box-shadow: 0px 4px 4px rgba(0,0,0,.5), 0px 0px 30px #fff;
}
	
.rects li div span
{
	position: relative;
    top: 160px;
    text-align: center;
}

#backgroundImage
{
    background-attachment: inherit;
}

/* Visionneuse d'image */
.screenImg,
.ytbe
{
	margin: auto;
    margin-top: 30px;
	border-radius: 5px;
	box-shadow: 0px 0px 10px rgba(0,0,0,.5);
	cursor: pointer;
	display: block;
	
	-webkit-transition: all .2s ease;
       -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
}

.screenImg {height: 250px;}

.screenImg:hover,
.ytbe:hover
{
	box-shadow: 0px 0px 30px rgba(255,255,255,.5);
}

.screenImg:active
{
	box-shadow: 0px 0px 15px #fff;
}
	
.screenImgMobile
{
	margin: auto;
	margin-top: 30px;
	border-radius: 7px;
	box-shadow: 0px 0px 10px rgba(0,0,0,.5);
	border: 3px solid white;
	max-width: 80%;
	max-width: 100%;
	height: inherit;
	max-height: 500px;
	display: none;
}

.panel {display: none;}

#actAddEngine,
#actPinEngine
{
    display: none;
}

@media screen and (max-width: 1000px)
{
    .central
	{
		margin: auto;
        
        position: fixed;
        top: 93px;
        bottom: 48px;
        left: 0;
        right: 0;
        
        padding: 0px;
        width: initial;
	}
    
    .pagination li p
    {
        padding: 15px 0;
    }
    
    .pagination li .slides
    {
        display: none;
    }

	.central > .content
	{
		width: 95%;
		color: white;
        padding: 30px 0;
	}
	
	.screen 
	{
		padding: 15px;
		padding-top: 0px;
	}
	
	.screen h1
	{
		font-size: 28px;
	}
	
	.screen p
	{
		font-size: 14px;
		line-height: 20px;
	}
	
	.screen .screenImg, .ytbe {display: none;}
	.screen .screenImgMobile {display: block;}
	.link {display: none;}

	.motorSelection
	{
		padding: 15px 15px;
		text-align: center;
		border-radius: 7px;
	}

	.motorSelection img
	{
		width: 100px;
		height: 100px;
		margin: auto;
		margin-bottom: 10px;
	}

	.motorSelection img,
	.motorSelection div
	{
		display: block;
	}

	.motorSelection div h3
	{
		font-size: 16px;
		font-weight: normal;
	}
    
    .toolBar
    {
        position: fixed;
        right: 0;
        left: 0;
        
        padding: 0;
        box-shadow: 0 -3px 10px rgba(0,0,0,.3);
        background: #000;
    }
    
    .toolBar li
    {
        margin: 0;
        border-radius: 0;
        width: calc(50% - 32px);
        box-shadow: none;
        padding: 16px;
        background: transparent;
    }
    
    .toolBar li#back {text-align: left; float: left;}
    .toolBar li#next {text-align: right; float: right;}

    .toolBar li p
    {
        color: #fff;
    }
    
    .toolBar li img
    {
        width: 16px;
        height: 16px;
        -webkit-filter: invert(0%);
           -moz-filter: invert(0%);
            -ms-filter: invert(0%);
             -o-filter: invert(0%);
                filter: invert(0%);
    }
}

@media screen and (max-width: 600px)
{
    header .ctn {text-align: left;}
    header .ctn p {display: inline-block;}
    header .ctn .right
    {
        float: right;
        width: inherit;
    }
    
    .pagination {display: none;}
    
    .central
    {
        top: 48px;
        top: 0;
        padding-top: 48px;
    }
}

@media screen and (max-width: 500px) and (max-width: 400px)
{
    header .ctn .logo {display: none;}
    header .ctn .right {width: calc(100% - 48px);}
    header .ctn .right #hubPages 
    {
        display: inline-block;
        width: calc(100% - (3 * 48px));
        text-align: left;
    }
    header .dropdown .menu {top: 48px;}
}