/*
 * fenestra2.css
 *
 * Copyright (C) 2020 Mathieu Gaborit (matael) <mathieu@matael.org>
 *
 * Licensed under the "THE BEER-WARE LICENSE" (Revision 42):
 * Mathieu (matael) Gaborit wrote this file. As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer or coffee in return
 *
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Fira Sans', sans-serif;
	font-size: 18px;
 	background: white;
	color: #1c1c1c;
	position: relative;
}

#page_header, #page_body {
	margin: auto;
	width: 100%;
	max-width: 1200px;
}

.container {
	padding: 1rem;
}

/* {{{ General */


.dark {
	color: #1c1c1c;
}

a {
	color: #1b9ac2;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2 {
	font-family: 'Oxygen', sans-serif;
}

h1 {
	font-size: 1.8rem;
	padding: 1.4rem 0 1rem;
	color: #1b9ac2;
}

h2 {
	font-size: 1.6rem;
	padding: 1.2rem 0 .5rem;
	font-weight: bold;
	color: #707070;
}

h3 {
	font-size: 1.2rem;
	padding: .5rem 0 .5rem 0;
	color: #1b9ac2;
}

h4 {
	font-size: 1.2rem;
	padding: .5rem 0 .5rem 0;
}

h5, h6 {
	font-size: 1.0rem;
	padding-top: .5rem;
}

h4, h6 {
	color: #707070;
}

blockquote {
	padding: .25rem 5rem .25rem 5rem;
	font-style: italic;
}

blockquote cite {
	text-align: right;
	margin-top: 2rem;
}

ul, ol, dl {
	padding: .25rem .25rem .25rem 1rem;
}

dt { font-weight: bold; }
dd { padding-left: 1rem; }

code, kbd, tt {
	font-family: 'Fira Mono', monospace;
}

q { font-style: italic; }
q q { font-style: normal; }

em {
	color: #1b9ac2;
	font-style: italic;
}

hr {
	width: 60%;
	margin: auto;
	border: 1px solid #707070;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

/* }}} End General */

/* {{{ Forms */

button, input[type=button], input[type=submit], input[type=reset] {
	border: none;
	text-align: center;
	text-decoration: none;
	font-size: 1.2rem;
	display: inline-block;
	padding: .25rem 2rem;
	background: #e0e0e0;
	color: #1c1c1c;
}

button:hover, input[type=button]:hover, input[type=reset]:hover {
	background: #f0f0f0;
}

input[type=submit]:hover {
	color: white;
	background: #1b9ac2;
}


fieldset {
	padding: 1rem;
}

/* }}} End forms */

/* {{{ Page Header */

#page_header #pagemenu_container {
	height: 125px;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;

	border-bottom: 1px #1c1c1c solid;
}

#logo {
	padding-top: 10px;
	float: left;
}
#logo img {
	max-width: 150px;
	height: auto;
}

#page_menu {
	font-family: 'Oxygen', sans-serif;
	font-size: 1.4rem;
	text-align: right;
	margin: 0;
	padding: 0;
}

#page_menu li {
	display: inline;
	font-weight: bold;
	margin-right: 15px;
}
#page_menu li:last-child {
	margin-right: 0px;
}

#page_menu a, #page_menu .fakelink {
	color: #1c1c1c;
	cursor: pointer;
}

#page_menu a:hover, #page_menu .fakelink:hover {
	color: #1b9ac2;
	text-decoration: none;
}

/* }}} End page header */

/* {{{ Menu */

.menu_content {
	padding: 0 1rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-in-out;
}

.menu_content ul {
	list-style-type: none;
	column-count: 2;
}

.menu_content li a {
	font-weight: bold;
}

.menu_content .container {
	padding: 1rem 0 1rem 0;
	border-bottom: 1px solid #1c1c1c;
}

/* }}} end menu */

/* {{{ Page Footer */

#page_footer {
	background: #2c2c2c;
	color: #c1c1c1;
}

#page_footer .container {
	margin: auto;
	width: 100%;
	max-width: 1200px;
	padding: 1rem;
}

/* }}} End footer */

/* {{{ Page body */

#page_body {
	margin-top: 50px;
	text-align: justify;
}

#page_body p {
	margin-bottom: .5rem;
}

#content_header {
	margin-bottom: 2rem;
}
/* }}} End page body */

/* {{{ Cols system */


.row {
  width: 100%;
  /* white-space: nowrap; */
  display: flex;
  margin-top: 20px;
  align-items: stretch;
}

.row:after {
  content: " ";
  display: block;
  clear: both;
}

.row > .col {
  flex: 1;
}

.col-1 { width: 8.33%; }
.col-3 { width: 24.99%; }
.col-5 { width: 41.65%; }
.col-7 { width: 58.31%; }
.col-9 { width: 74.97%; }
.col-11 { width: 91.63%; }
.col-2 { width: 16.66%; flex-basis: 16.66%; }
.col-4 { width: 33.32%; flex-basis: 33.32%; }
.col-6 { width: 50%; flex-basis: 50%; }
.col-8 { width: 66.64%; flex-basis: 66.64%; }
.col-10 { width: 83.33%; flex-basis: 83.33%; }
.col-12 { width: 100%; flex-basis: 100%; }
.col_pad_left { padding: 1.5rem; }
.col_pad_right { padding: 1.5rem; }

/* }}} end cols */

/* {{{ Others */

.image-float-right {
    float: right;
    margin-left: 1.25rem;
}

.image-float-left {
    float: left;
    margin-right: 1.25rem;
}

#embedded_map {
	height: 500px;
	margin-bottom: 30px;
	width: 100%;
}

.notop-padding {
	padding-top: 0;
}

.alert-red {
    color: #C24525
}

.message-alert {
    color: white;
    background: #C24525;
    font-weight: bold;
    padding: 2rem;
    font-size: 1.2em;
}

/* }}} end others */

/* {{{ Schola */

/* #country-grid { */
/* 	padding-left: 3%; */
/* } */
#country-grid > .row {
	width: 100%;
}

.country-block {
	padding: 2%;
	margin-left: 1%;
	width: 100%;
	background: #1b9ac2;
	filter: opacity(75%);
	color: white;
}

.block-link {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.country-block:hover {
	filter: opacity(100%);
}

.country-block a {
	color: white;
}

.country-block .course-count {
	text-align: right;
}

.country-block h3{
	margin-bottom: 20px;
	color: white;
}

.back-to-schola {
	color: white;
	background: #1b9ac2;
	filter: opacity(75%);
	float: right;
	width: 20%;
	padding: 10px;
	font-weight: bold;
}

.back-to-schola:hover {
	filter: opacity(100%);
}
/* }}} end schola */

@media (max-width: 600px) {
  .row {
    display: block;
  }
	small {
    font-size: 90%;
  }
}

@media (max-width: 600px) {
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    width: 100%;
  }
}
