/*
 Theme Name:   Demain Vous Appartient
 Description:  Twenty Nineteen Child Theme
 Author:       Jérémy Demarquet
 Author URI:   http://ticcom.fr
 Template: twentynineteen 
 Version:      1.0.0
 Text Domain:  dva
*/

@import url('https://fonts.googleapis.com/css?family=Kalam');


/* --- RESET --- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --- GENERAL --- */

body{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size:18px;
	color: #000;
	background: #fff;
}

.clearfix{
	clear:both;
	visibility: hidden;
}

p{
	font-size: 20px;
	line-height: 28px;
}

em{
	font-style: italic;
}

strong{
	font-weight: bold;
}

/* --- HEADER --- */

header{
	box-shadow: 0px -15px 15px 10px #555;
}

#masthead, #masthead2{
	position: fixed;
	z-index: 2000;
	background: #fff;
	width: 100%;
	height: 100px;
}

header #logo h1 img{
	width:100%;
	height: auto;
	max-width:130px;
}

h1:not(.site-title):before, h2:before{
	content:none;
}

#logo{
	float:left;
	width:180px;
	margin:24px 100px;
}

header nav{
	float:left;
	margin-right:100px;
	width:calc(100% - 480px);
	text-align: right;
	line-height: 100px;
}

header nav ul li{
	display:inline-block;
	margin-left:50px;
	min-height: 61px;
	text-transform: uppercase;
}

header nav ul li a{
	color:#000;
	font-size:16px;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 100px;
}


/* --- NAVIGATION --- */

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0 40px 0 0;
}

.nav-menu li {
	display: inline-block;
	position: relative;
}

.nav-menu li a {
	display: block;
	line-height: 1;
	text-decoration: none;
	height:55px;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	color: #ffa9f6;
}

.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #fff;
	border-top: 0;
	padding: 0;
	position: absolute;
	left: -2px;
	z-index: 99999;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	margin-top:6px;
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
	color: #000;
	margin: 0;
	width: 200px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	color:#ffa9f6;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #aa5599;
}

.menu-toggle {
	display: none;
}

/* Navbar */
.navbar {
	background-color: #f7f5e7;
	max-width: 1600px;
	width: 100%;
}

.sub-menu li {
	margin-left: 0;
	border: 1px solid #ccc;
	text-align: left;
	padding-left: 10px;
	display: block;
	padding: 0 10px 0px;
	line-height: 10px;
}

.sub-menu li a {
	display: block;
	line-height: 55px;
	text-decoration: none;
	height:55px;
}

#primary-menu li:hover > a,
#primary-menu li a:hover,
#primary-menu li:focus > a,
#primary-menu li a:focus {
	color:#aa5599;
}

#primary-menu .current_page_item > a, #primary-menu .current_page_ancestor > a, #primary-menu .current-menu-item > a, #primary-menu .current-menu-ancestor > a {
  color: #aa5599;
}

.main-navigation .main-menu > li > a:hover, .main-navigation .main-menu > li > a:hover + svg{
	color:#32BBFF;
}

.icon-angle-down {
	position: absolute;
	width: 10px;
	top: 0;
	height: 25px;
	margin-left: 10px;
}

#page-start{
	padding-top: 100px;
}



ul.children{
	display: inline-flex;
}

ul.children::before{
	content:">";
	margin:0 10px 0 0;
}

/* HOME */

.flexslider{
	margin:0;
	border:none;
	border-radius:none;
	background: none;
}

.slider { margin: 0 0 10px 0!important;}


.slider{
	width:100%;
	height:auto;
	padding-top:100px;
}

#slider li{
	width:100%;
	height: auto;
}



.bordered{
	border:2px solid #000;
}



a.button {
	padding: 15px 20px;
	color: #fff;
	background:#53c739;
	margin-top: 30px;
	display: inline-block;
	border-radius: 5px;
	box-shadow: 3px 3px 5px -3px #2A671D;
	text-decoration: none;
	font-weight: bold;
}

a.button:hover{
	box-shadow: 3px 3px 10px -3px #2A671D;
}

.slider{
	position: relative;
	z-index: 0;
}

/* HOME */

#main-content{
	width:100%;
	max-width: calc(100% - 600px);
	float:left;
}

#last-news{
	text-align: center;
}

#last-news li{
	display: inline-block;
	width: 100%;
	max-width: 500px;
	margin:40px;
}

/* #last-news li:nth-child(2n){
	margin-left:80px;
} */

.main-title{
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #6dc7f7;
	padding:60px 15px 40px 40px;
}

.news-date p{
	color: #757575;
	font-style: italic;
	font-size: 15px;
}

#side-content{
	width:100%;
	max-width: 600px;
	float:left;
	padding-right: 30px;
}

#side-content #widget-area{
	background: #9bc68b !important;
	padding:30px;
	text-align: justify;
}

h2.side-title{
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #6dc7f7;
	padding:100px 15px 40px 40px;
}

h2.rounded{
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #fff;
	padding:30px 15px 0;
}

.wp-polls form p, .wp-polls ul li {
	padding:5px 15px;
	line-height: 25px;
}

.wp-polls form p, .wp-polls ul li label{
	color:#fff;
}

#homepage{
	position: relative;
    top: -120px;
}

.wp-polls .Buttons {
    border: none;
    background-color: #468e30;
}

.wp-polls .Buttons:hover {
    border: none;
    background-color: #29541c;
}

#casting-list #post-image{
	float: left;
	max-width:100px;
	width:100%;
}

#casting-list #post-image img{
	max-width:100px;
	height: auto;
	width:100%;
}

#casting-list #post-name{
	width:100%;
	max-width: calc(100% - 100px);
	float:left;
}

#post-name h3 a{
	font-size: 25px;
	line-height: 100px;
	margin-left:20px;
}

/* PAGE */


#page-content, .post-navigation{
	margin:0 auto;
	width:100%;
	max-width: 1024px;
	padding: 30px 100px;
}

#page-content #article-corps{
	margin:500px auto 0;
}

#article-corps a{
	text-decoration: underline;
	color:#0085B3;
}

#article-corps a:hover{
	text-decoration: none;
	color:#4AAD45;
}

#page-content h2{
	text-align: center;
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #9bc68b;
    margin: 30px 0 80px 0;
}

#page-content h3{
	text-align: center;
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 30px;
    color: #42BCFE;
    margin: 50px 0 50px 0;
}

#page-content h4{
	text-align: center;
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 25px;
    color: #797564;
    margin: 30px 0 30px 0;
}

#page-content p{
	text-align: justify;
    color:#164859;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 20px;
	margin:20px 0;
}

/* ARCHIVE */

#archive-page-content{
	padding-top:500px;
}

.archive-header{
	background:url(assets/images/sete-bg2.jpg) center top no-repeat;
	width:100%;
	height: auto;
	background-size: contain;
}

/* ARTICLE */

.article{
	background:url(assets/images/sete-bg2.jpg) center top no-repeat;
	width:100%;
	height: auto;
}

#article-head-image{
	position:relative;
	padding-top:200px;
	text-align: center;
	margin:0 auto;
	width:100%;
	max-width: 1024px;
}

#article-content, .post-navigation{
	margin:0 auto;
	width:100%;
	max-width: 1024px;
	padding: 30px 100px;
}

#article-content h2, .page-description{
	text-align: center;
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #9bc68b;
    margin: 30px 0 80px 0;
}

#article-content p{
	text-align: justify;
    color:#164859;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 20px;
	margin:20px 0;
}

.entry-meta{
	background: #eee;
	padding: 5px 5px 10px 5px;
	text-align: right;
	margin: 50px 0;
}

.entry-meta svg{
	position: relative;
	top:3px;
}

.entry-meta span{
	margin-right:5px;
}

.entry-meta a{
	color:#555;
	margin-left:3px;
}

#article-corps ul{
	margin:30px 0;
}

#article-corps ul li{
	margin:10px 0;
}

/* CASTING */

.tile { 
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;

}
.tile:hover { 

}

.scale-anm {
  transform: scale(1);
}

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

.btn {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    padding: .5rem 1rem;
    margin: 0;
    height: auto;
    vertical-align: middle;
    -webkit-appearance: none;
    color: #000;
    background-color: rgba(0, 0, 0, 0);
	border:2px solid #fff;
	font-size: 14px;
	font-weight: bold;
}

.all-cast{
	border-bottom:2px solid #aa0088;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus {
  outline: none;
  border-color: var(--darken-2);
  box-shadow: 0 0 0 3px var(--darken-3);
}

::-moz-focus-inner {
  border: 0;
  padding: 0;
}

#content-casting{
	max-width: 1024px;
	width:100%;
}

#content .toolbar{
	text-align: center;
}

#portfolio{
	margin: 50px 0;
	text-align: center;
}

#portfolio #element{
	width:100%;
	max-width: 200px;
	display: inline-block;
	margin-bottom: 25px;
}

#portfolio #element h3{
	text-align: center;
}

#portfolio #element h3 a{
	font-size: 12px;
	color:#000;
	text-transform: uppercase;
	text-decoration: none;
}

.casting-list h2{
	text-align: center;
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #9bc68b;
    margin: 30px 0 80px 0;
}

.casting-list p{
	text-align: center;
}

/* CASTING  SINGLE*/

#casting-head-image{
	background:url(assets/images/sete-bg.jpg) center top no-repeat;
	height:400px;
	width:100%;
}

#casting-head-title-bg{
	background-color: #206b84;
	width:100%;
	height:120px;
}

#casting-content{
	padding:100px 0 0;
	position: relative;
	top:-150px
}

#casting-infos{
	position:relative;
	top:-200px;
	left:100px;
	width:100%;
	max-width: 500px;
	float:left;
}

#casting-bio{
	position:relative;
	float:left;
	width:100%;
	max-width:calc(100% - 800px);
	margin-left:200px;
}

#casting-bio h2{
	font-family: 'Kalam', cursive;
	font-weight:bold;
	font-size: 40px;
    color: #fff;
    margin: -40px 0 100px 0;
}


#casting-bio h3{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 30px;
    color: #000;
    margin: 50px 0 30px 0;
	font-weight: bold;
}

#casting-bio p, #casting-bio li{
	color:#164859;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 20px;
	text-align: justify;
}

#casting-bio li{
	margin:0;
	padding:5px;
	background-color: #fff;
}

#casting-bio li:nth-child(2n){
	background-color:#dff5ff;
}

#casting-social{
	text-align: right;
}

#casting-social img{
	width:40px;
	height:40px;
	margin:5px;
}


/* Opacity #1 */
#casting-social img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
#casting-social img:hover{
	opacity: .7;
}

.sources {
	background-color: #eee;
	padding:5px;
	margin-top:50px;
}

.sources p{
	color:#aaa !important;
	font-size: 14px !important;
	display: inline-block;
}

.sources a{
	color:#888;
	text-decoration: underline;
	font-size: 14px !important;
}
.sources a:hover{
	color:#555;
}

.sources ul{
	display: inline-block;
}

.sources li{
	display:inline-block;
	font-size: 14px !important;
	background: none !important;
	padding: 5px 0 !important;
}

.sources li::before{
	content:"/";
	margin-right:5px;
}
.sources li:first-child::before{
	content: none;
}

/* PAGE NAVI */

.wp-pagenavi{
	text-align:center;
	margin-bottom:50px;
}

.wp-pagenavi span, .wp-pagenavi a{
	border: 1px solid #9bc68b;
}

.wp-pagenavi span{
	color:#9bc68b;
}

.wp-pagenavi .current{
	color:#fff;
	background: #9bc68b;
	border: 1px solid #9bc68b !important;
}

.wp-pagenavi a:visited{
	color:#086300;
}

.wp-pagenavi a:hover{
	color:#fff;
	background: #6dc7f7;
	border:1px solid #6dc7f7;
}

/* FOOTER */

footer{
	background-color: #eee;
	padding:5px 0;
}

footer p{
	text-align: center;
	font-size: 16px;
	color:#aaa;
}

footer a{
	color:#888;
}

footer a:hover{
	color:#555;
	text-decoration: underline;
}


@media screen and (max-width:1179px){
	
	
	#main-content {
	width: 100%;
	max-width:none;
	float: none;
}
	
	#side-content {
	width: 100%;
	max-width: none;
	float: none;
	padding-right: 30px;
}
	
	#liste-persos, #liste-casting{
		margin:0 50px;
	}
	
	.archive-header {
	background: none;
}
	
	#archive-page-content {
	padding-top: 0;
}
	
	#casting-content {
	top: 0px;
	padding:20px;
}
	
	#casting-infos {
	top: 0;
	left: unset;
	float: none;
	margin: 0 auto;
}
	
	#casting-bio {
	float: none;
	width: 100%;
	max-width: none;
	margin-left: 0;
	padding: 0;
	margin-top:30px;
}
	
	#casting-bio h2 {
	color: #206b84;
	margin: 0 0 30px 0;
}
	
	#casting-head {
	display:none;
}
	
	
}

@media screen and (max-width:599px){
	
	#last-news li {
	width: calc(100% - 40px);
	margin: 20px;
}
	
	#side-content {
	padding-right:0;
}
	
	#article-content h2, .page-description {
	text-align: left;
	margin: 0;
	display: block;
}
	
	
}

@media screen and (max-width:499px){
	
	#article-head-image {
	padding-top: 0;
}
	
	.article {
	background: none;
}
	
	#article-content, .post-navigation {
	padding: 30px;
}
	
	#page-content #article-corps {
	margin: 0;
}
	
	#page-content, .post-navigation {
	padding: 30px;
}
	
}


@media screen and (max-width:459px){
	
	#homepage {
	top: -80px;
}
	
	#casting-list #post-name {
	width: 100%;
	max-width: none;
	float: none;
}
	
	#post-name h3{
	text-align: center;
}
	
	
	#post-name h3 a {
	font-size: 20px;
	line-height: 25px;
	margin-left:0;
}
	
	#casting-list{
		margin-top:30px;
	}
	
	
	#casting-list #post-image {
	float: none;
	max-width: none;
}
	
	#casting-list #post-image img {
	max-width: none;
	height: auto;
}
	
}