* {
    box-sizing: border-box;
    overflow: visible;
}

header, footer, nav, section, aside, article, figure, figcaption {
    display: block;
}

html {
    font-size: 100%;
}

html, body {
    height: 100%;
}

body {
    background-color: #e3e3e3;
    font-size: 0.95em;
    font-family: 'Raleway', sans-serif;
    color: #3a3a3a;
    margin: 0;
    padding: 0;
}

#body {
    min-height: 100%;
    position: relative;
}

#wrapper {
    display: none;
}

.inside {
    position: relative;
}

/*-------------------------------------- Utils ---------------------------------------*/
.clear, #clear {
    height: .1px;
    font-size: .1px;
    line-height: .1px;
    clear: both;
}

a {
    text-decoration: none;
}

p {
    margin: 5px 0;
}

h1, h2, h3, h4 {
    font-family: "Raleway",sans-serif;
}

h2 {
    margin: 5px 0;
}

h3 {
    font-size: 1.94em;
    font-weight: normal;
    color: #315059;
    margin: 5px 0;
}

h4 {
    color: #ad0a04;
    font-family: "Roboto Condensed",sans-serif;
    font-size: 1.18em;
    font-weight: bold;
    margin: 5px 0;
    text-transform: uppercase;
}

strong {
    color: #ad0a04;
}

.subtitle {
  color: #ecd65d;
  font-size: 26px;
  font-weight: bold;
}

.yellSpan {
    color: #ecd65d;
}

.formule {
    color: #3b5b64;
    text-align: center;
    font-weight: bold;
}

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

.invisible {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.infos {
    margin: 0;
    font-style : italic;
    font-size : 12px;
    color : #666;
    text-align : center;
}

/*------------------------------------------ Header ---------------------------------------*/
#header {
    height: 247px;
    background: transparent
        url("http://iepweb2.sciencespo-rennes.fr/media/global/images/bg-header.jpg")
        no-repeat top center;
}

#header .nav-bar {
    width: 100%;
    height: 39px;
    margin-bottom: -39px;
    background-color: #739da8;
    -webkit-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.15);
}

#header .inside {
    width: 960px;
    margin: 0 auto;
}

#header .inside .col01 {
    width: 241px;
    background-color: rgba(0, 0, 0, 0.2);
    height: 39px;
    padding: 2px 0 0 0;
    text-align: center;
    display:table;
}
#header .inside .col01 span{
    color: white;
    font-family: 'Raleway', sans-serif;
    vertical-align: middle;
    display: table-cell;
}
#header .inside .col01::after, #header .inside .col03::after {
    content: "\00a0";
}

#header .inside .col01, #header .inside .col02, #header .inside .col03 {
    float: left;
}

#header .inside .header-logo {
    width: 473px;
    height: 226px;
}

#header .inside .header-logo a {
    display: block;
    width: 120px;
    height: 116px;
    margin: 40px 40px;
    float: left;
}

#header .inside .header-logo .header-title {
    float: left;
    text-align: center;
    color: #AD0A04;
    font-weight: 300;
    font-size: 2.5em;
    margin: 60px auto;
    width: 250px;
}

#header .inside .col03 {
    width: 246px;
    height : 39px;
    text-align: center;
    padding: 2px 0 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.header-logo {
    background: transparent url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/fond-logo.png") no-repeat left top;
}

/*-------------------------------------- Nav ---------------------------------------*/
.custom {
    background-color: #ca062b;
    height: 52px;
    //margin-bottom: 30px;
    -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), inset 0px -1px 0px 0px rgba(255, 255, 255, 0.32);
    -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), inset 0px -1px 0px 0px rgba(255, 255, 255, 0.32);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), inset 0px -1px 0px 0px rgba(255, 255, 255, 0.32);
    z-index: 200;
    position: relative;
    display: block;
}

.custom::after {
    content: "";
    display: table;
    clear: both;
}

.custom #afterHeader .inside {
    width: 960px;
    margin: 0 auto;
}

#nav-principale {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    font-size: 1.4em;
    text-transform: uppercase;
}

#nav-principale a, #nav-principale span {
    color: white;
    font-size: 19px;
}

#nav-principale ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav-principale .level_1 > .submenu, #nav-principale .level_1 > .sibling,
#nav-principale .level_1 > .active, #nav-principale .level_1 > .last {
    float: left;
    display: block;
    height: 52px;
    padding-top: 12px;
}

#nav-principale .level_1 > li > span, #nav-principale .level_1 > li > a {
    padding: 5px 13px;
    border-right: 1px solid #9b0820;
}

#nav-principale .level_1 > li:hover {
    background-color: #9b0820;
}

#nav-principale .level_2 {
    position: absolute;
    left: -999em;
    top: 51px;
    text-align: left;
    background-color: #9b0820;
    width: 100%;
    padding: 20px 10px 0 10px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#nav-principale .level_1 > .submenu:hover .level_2 {
    left: 0px;
}

#nav-principale .level_2 > li {
    float: left;
    margin-bottom: 0.83333em;
    width: 33.3333%;
}

#nav-principale .level_2 li a, #nav-principale .level_2 li span {
    background: transparent
        url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-03-hover.png")
        no-repeat scroll 0 2px;
    display: block;
    font-size: 15px;
    font-weight: 400;
    padding-left: 15px;
}

#nav-principale .level_2 li a:hover, #nav-principale .level_3 li a:hover,
    #nav-principale .level_4 li a:hover {
    text-decoration: underline;
}

#nav-principale .level_3 {
  margin-top: 5px;
}

#nav-principale .level_3 li {
  margin-left: 1em;
}

#nav-principale .level_3 li a, #nav-principale .level_3 > li > span {
  background: transparent url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-09.png") no-repeat scroll 0 2px;
  padding-bottom: 5px;
  text-transform: none;
}

#nav-principale .level_4 li a, #nav-principale .level_4 > li > span {
    background: transparent url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-10.png") no-repeat scroll 0 2px;
    padding-bottom: 5px;
    text-transform: none;
}

/*-------------------------------------- Content ---------------------------------------*/
#container {
    width: 960px;
    min-height: 600px;
    margin: 30px auto 0;
    padding-bottom: 120px;
}

#container::after, .custom::after {
    content: "";
    display: table;
    clear: both;
}

#container, .inside {
    position: relative;
}

#container #erreur::before,
#container #messages::before {
    background-color: #ecd65d;
    content: "";
    float: left;
    height: 32px;
    left: -100%;
    margin: -5px 5px 0 0;
    overflow: visible;
    position: absolute;
    width: 100%;
}

#container #erreur {
    width: 960px;
    margin: -27px 0 0;
    padding: 5px 0;
    background-color: #ecd65d;
}

#container #messages {
    width: 960px;
/*    margin: -27px 0 0;*/
    padding: 5px 0;
    background-color: #ecd65d;
}

#container #erreur::after,
#container #messages::after {
    background-color: #ecd65d;
    content: "";
    float: right;
    height: 32px;
    right: -100%;
    margin: -5px 5px 0 0;
    overflow: visible;
    position: absolute;
    width: 100%;
}

#main {
    width: 100%;
}

#main, #left, #right {
    float: left;
    position: relative;
}

#main h1::before {
    background-color: white;
    content: "";
    float: left;
    //height: 68px;
    left: -100%;
    margin: -10px 5px 0 0;
    overflow: visible;
    position: absolute;
    width: 100%;
}

#main h1 {
    color: #ad0a04;
    font-size: 2.7em;
    font-weight: 400;
    background: white url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-02.png") no-repeat scroll 0 14px;
    //background-size: 20px 23px;
    padding: 10px 0px 10px 45px;
    margin-top: 0;
    width: 960px;
    //height: 68px;
    border-radius: 0px 5px 5px 0px;
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -ms-border-radius: 0px 5px 5px 0px;
    -o-border-radius: 0px 5px 5px 0px;
    overflow: visible;
}

#column_left {
    float:left;
    margin-bottom: 20px;
    padding-right: 20px;
    max-width: 650px;
    position:relative;
}

/*-------------------------------------- Nav Right ---------------------------------------*/
#column_right {
    margin-top: 120px;
    margin-right: -100%;
    float: right;
    position: relative;
    width: 226px;
    min-height:300px;
}

#column_right {
    padding: 1em;
    margin: 1em;
    background-color: #9db9c0;
    border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
}

#right {
    margin-top: 90px;
    margin-right: -100%;
    width: 226px;
}

#right #nav-right {
    padding: 20px 10px;
    background-color: #9db9c0;
    border-radius: 7px;
}

#nav-right ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

#nav-right ul a, #nav-right ul span {
    background: transparent url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-03.png") no-repeat scroll 0 3px;
    color: black;
    padding-left: 15px;
}

#nav-right ul a:hover {
    background: transparent url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-03-hover.png") no-repeat scroll 0 3px;
    text-decoration: underline;
}

#nav-right .level_2 {
    margin-left: 15px;
    word-wrap: break-word;
}

#nav-right .level_2 li {
    margin-bottom: 3px;
}

#nav-right .level_2 a {
    font-size: 0.95em;
}

/*-------------------------------------- Footer ---------------------------------------*/
#footer {
    background:
        url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/bg-footer.png")
        no-repeat 50% 0;
    background-size: 100% 100%;
    color: white;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
}
/*  #footer .inside {
    padding: 1.4em 0.7em;
} */
#footer h3 {
    text-align: center;
    margin: 0 0 0.5em;
    padding: 0.8em 0 0;
    font-size: 1.6em;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: white;
}

/*-------------------------------------- Items ---------------------------------------*/
.item_wrapper {
    display : block;
    margin : 20px auto;
    padding : 20px;
    background-color: #fff;
    border : 1px solid #bbb;
    border-radius : 2px;
}

.item_wrapper > h3 {
  margin: 0px 0px 10px;
	padding: 7px 0px 7px 10px;
	background-color: #ECD65D;
	color: #3B5B64;
	font-weight: bold;
	font-size: 1.3em;
}

.item_wrapper h4 {
    font-family: "Roboto Condensed",sans-serif;
    font-size: 18px;
    margin: 5px 0;
    color: #9db9c0;
    text-transform: uppercase;
}

/*-------------------------------------- Liste ---------------------------------------*/
.liste_contenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.liste_contenu.level_1 {
    padding-left: 1.5em;
}

.liste_contenu.level_2 {
    padding-left: 0;
}

.liste_contenu.level_1 li {
    background: url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-07.png") no-repeat 0 0;
    padding-left: 1.2em;
    margin-bottom: 1em;
}

.liste_contenu.level_2 li {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #315059;
    background: none;
}

.liste_contenu.level_2 li p.item_title {
    margin: 0 0 10px;
    padding: 7px 0 7px 10px;
    background-color: #ecd65d;
    color: #3b5b64;
    font-weight: bold;
    font-size: 1.3em;
}

.liste_contenu.level_2 li p.item_title span {
  font-weight: normal;
  font-style: italic;
  font-size: 14px;
}

.liste_contenu li {
    background: url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-07.png") no-repeat 0 0;
    padding-left: 1.2em;
    margin-bottom: 1em;
}

.liste_contenu li a {
    color: #678d97;
    text-decoration: underline;
}

/*-------------------------------------- Table ---------------------------------------*/
table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #e3e3e3;
}

table th {
    background-color: #315059 !important;
    color: #fff !important;
}

table td {
    background-color: white;
}

.item_wrapper table th {
    border: 1px solid #fff;
}

.item_wrapper table td {
    border: 1px solid #e3e3e3;
}

table .table_left {
    text-align: left;
}

table .table_right {
    text-align: right;
}

/*-------------------------------------- Form ---------------------------------------*/
form, .form {
    display : block;
    margin : 20px auto 20px;
    padding : 20px;
    background-color: #fff;
    border : 1px solid #bbb;
    border-radius : 2px;
}

form.no-border {
  margin : 0 auto;
  padding : 0;
  background-color: none;
  border : none;
}

.form h3 {
    margin: 0px 0px 10px;
	padding: 7px 0px 7px 10px;
	background-color: #ECD65D;
	color: #3B5B64;
	font-weight: bold;
	font-size: 1.3em;
}

.form h4 {
    font-family: "Roboto Condensed",sans-serif;
    font-size: 18px;
    margin: 5px 0;
    color: #9db9c0;
    text-transform: uppercase;
}

.form > input:last-child {
    display: block;
    margin: 0 auto;
    width: 130px;
}

.form-group {
  margin-bottom: 10px;
}

.form .form_label, .form label {
    display: block;
    margin-bottom: 15px;
    font-weight : normal;
    color: #678d97;
    //padding-left: 33px;
}

.form-group label, .radio p {
    display: block;
    font-weight: normal;
    margin: 0 0 5px 0;
    color: #678d97;
}

.form_label input[type="text"],
.form_label select {
    max-width: 420px;
    margin: 5px 0 0;
}

.form_label input[type="number"] {
    width: 150px;
    margin: 5px 0 0;
}

.form .form_label:last-child {
    margin-bottom: 0;
}

.form .form_label > p {
    display: block;
    margin: 0 0 5px;
    padding-left: 18px;
    background: url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-05.png") no-repeat 0 4px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    color: #3b5b64;
}

.form .form_label input {
    display: inline-block;
    margin-right: 5px;
}

.form .form_label > textarea {
    width: 99%;
    text-align: left;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 0;
}

.form_label label {
    display : inline-block;
    float : none;
    margin : 0;
    vertical-align: 8%;
}

.form .form_label label .label_title {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 23px;
    color: #ad0a04;
    text-transform: uppercase;
}

.form .form_label .infos {
    vertical-align: 2px;
}

.form .form_label label p {
    margin: 0;
}

.form .form_label label i {
    font-size: 13px;
    color: #3b5b64;
}

.form_label ul.errorlist {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.form_label ul.errorlist li {
    list-style : none;
    color : #ca062b;
    font-size : 13px;
}

label {
  color : #678d97;
  font-weight : normal;
}

label > select {
  width : auto;
  color : #000;
}

.form_error {
    margin-left: 5px;
    padding: 2px 5px 1px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: #ad0a04;
}

.list_buttons {
    text-align:center;
}

.list_buttons a {
    display: inline-block;
    margin: 0 5px 0;
}

input[type="text"],
input[type="number"] {
	margin: 5px 0px 20px;
	padding: 8px 10px;
}

.form-group input {
	margin-bottom : 10px;
}

input[type=submit],input[type=button],a.button, button {
    padding: 5px;
    width: 250px;
    background-color: #3b5b64;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -ms-border-radius: 5px 5px 5px 5px;
    -o-border-radius: 5px 5px 5px 5px;
}

a.button {
  padding: 6px 0;
}

input[type="submit"]:hover,input[type=button]:hover, a.button:hover, button:hover {
    background-color: #ecd65d;
    color: #3b5b64;
}

.centerbutton {
	display: block;
	margin: 0px auto !important;
	width: 300px !important;
  text-align: center;
}

.popup .centerbutton {
    width : 300px !important;
}

.backbutton {
  background-color: #ad0a04 !important;
}

.backbutton:hover {
  background-color: #ecd65d !important;
  color: #3b5b64 !important;
}

.actionbutton {
  cursor: pointer;
  padding: 3px 10px;
  background-color: #fff;
  border-radius: 2px;
  color: #3b5b64;
  text-transform: lowercase;
  font-size: 17px;
}

.actionbutton.left {
  margin-left: 5px;
}

.actionbutton.right {
  float: right;
  margin-right: 5px;
}

select {
    width: 250px;
	padding: 8px 5px 8px 10px;
	cursor: pointer;
}

select[multiple]{
    width:100%;
    height: 150px;
    padding: 5px;
    font-family: "Raleway",sans-serif;
    font-size: 14px;
    border: 1px solid #aaa;
    border-radius: 5px;
}

select[multiple] option{
    padding: 0 0 2px;
}

/*-------------------------------------- JQuery ---------------------------------------*/
.ui-widget {
    font-family: "Raleway",sans-serif;
}

.ui-accordion > .ui-accordion-header {
    background-color: #cac9d0;
    font-weight: normal;
}

.ui-accordion .ui-accordion-icons {
    padding-left: 30px;
    background-image: none;
}

.ui-accordion .ui-accordion-content {
    padding: 5px 15px;
    font-size: 0.95em !important;
}

.ui-accordion .ui-accordion-content.ui-accordion-table {
    padding: 5px;
}

.ui-widget-content a {
    color: #3b5b64;
}

.ui-widget-content a:hover {
    text-decoration: underline;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: 'Raleway';
    font-size: 0.95em;
}

.ui-helper-reset {
    line-height: normal;
}

.custom-accordion {
    margin: 2px 0 0;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
}

.custom-accordion:hover,
.custom-accordion.active,
.custom-accordion.ui-sublevel:hover,
.custom-accordion.ui-sublevel.active {
    border: 1px solid #aaaaaa;
    color: #212121;
}

.custom-accordion > .ui-accordion-header {
    cursor: pointer;
    display: block;
    position: relative;
    padding: 0.5em 0.5em 0.5em 30px;
    background-color: #cac9d0;
    color: #555555;
    font-size: 1.1em;
}

.custom-accordion.active > .ui-accordion-header {
    border-bottom: 1px solid #aaaaaa;
}

.custom-accordion.ui-sublevel > .ui-accordion-header {
    background: #e6e6e6;
}

.custom-accordion.ui-sublevel:hover > .ui-accordion-header {
    background-color: #cac9d0;
}

.custom-accordion.ui-sublevel.active > .ui-accordion-header {
    background: #ffffff;
    border-bottom: 1px solid #aaaaaa;
}

.custom-accordion > .ui-accordion-header > .ui-accordion-header-icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 0.5em;
    height: 16px;
    width: 16px;
    overflow: hidden;
    text-indent: -99999px;
    margin-top: -8px;
    background-image: url("../images/ui-icons_888888_256x240.png");
    background-repeat: no-repeat;
    background-position: -32px -16px;
}

.custom-accordion:hover > .ui-accordion-header > .ui-accordion-header-icon {
    background-image: url("../images/ui-icons_454545_256x240.png");
    background-position: -32px -16px;
}

.custom-accordion.active > .ui-accordion-header > .ui-accordion-header-icon {
    background-image: url("../images/ui-icons_454545_256x240.png");
    background-position: -64px -16px;
}

.custom-accordion.active > .ui-accordion-header > .ui-accordion-header-icon a {
    color: #212121;
}

.custom-accordion .ui-accordion-content {
    margin: 0 auto;
    padding: 10px;
}

.popup {
    width : 100%;
    height : 100%;
    margin : 0 auto;
}

#data_filter {
  display : none;
}

/*-------------------------------------- Divers ---------------------------------------*/
#popup {
    margin: 20px auto;
    max-width: 650px;
    padding:10px;
}

.loader {
    width: 100%;
    height: 25px;
    background: #FFF url("http://iepweb2.sciencespo-rennes.fr/media/global/images/ajax-loader1.gif") no-repeat scroll 50% 50%;

}

#page_loader {
    background: #FFF url("http://iepweb2.sciencespo-rennes.fr/media/global/images/ajax-loader.gif") no-repeat scroll 50% 50%;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    left: 0px;
    top: 0px;
    z-index: 9003;
    display: none;
}


/*-------EVAL---------*/
.form p.question {
    display: block;
    margin: 0 0 5px;
    padding-left: 18px;
    background: url("http://iepweb2.sciencespo-rennes.fr/media/global/images/site/asset-05.png") no-repeat 0 4px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    color: #3b5b64;
}
.form textarea {
    width: 99%;
    text-align: left;
    padding: 5px;
    border: medium none;
    border-radius: 5px;
}

.liste_contenu.level_2 {
    padding-left: 0;
}

.avote {
    padding: 2px 4px;
    vertical-align: middle;
    background-color: #9db9c0;
    border-radius: 2px;
    color: white;
    font-weight: bold;
}

/*a.button.export {
    display: block;
    margin: 10px auto -20px;
    text-align: center;
    font-size: 20px;
    width: 300px;
}*/
