/* 
- please, keep css styles alphabetically ordered!
- responsive borders: 550px, 990px, 1140px (mobile first!)
*/

/* align
------------------------------------------*/
.txtright { text-align: right; }
.txtcenter { text-align: center; }
th, td { text-align: left; }
.event-menu { text-align: center; }
ul.menu li { vertical-align: top; }

@media (min-width: 990px) {
}

/* border
------------------------------------------*/
.alert-box {
  border-radius: 5px;
  border-top: 1px solid #cd071e;
  border-bottom: 1px solid #cd071e;
}
.alert-box-error {
  border-top: 1px solid #cd071e;
  border-bottom: 1px solid #cd071e;
}
.alert-box-warning { border: 1px solid #555; }
.alert-box-message { border: 2px solid #acd778; }
th, td { border-bottom: 1px solid #E1E1E1; }
.blog-featured .item .moduletable ul { border-right: 10px solid transparent; }
.blog-featured .item,
.blog-featured .items-leading > div { border: 1px solid #222; }
.edition-menu li a { border: 2px solid #def; border-radius: 20px; }

/* color
------------------------------------------*/
body { color: #222; }
a, a:visited { color: #c52827; }
a:hover { color: #e20119; }

h1 { color: #8ea366; }
body.event-mtx h1 { color: #3b426e; }
body.event-fwb h1 { color: #a10e16; }
body.event-ebc h1 { color: #0a809f; }
.blog-featured h1 { background-color: #807c58; color: #fff !important; }

.detail-menu a, .detail-menu a:visited, .nav-header, .footer-menu a, .footer-menu a:visited { 
  color: #fff; 
}
.footer-menu,
.detail-menu > ul > li > a:hover,
.detail-menu > ul > li > ul { background: #807c58; }
.detail-menu > ul > li > ul a:hover, .footer-menu a:hover { color: #000; }

.alert-box { color: #fff; background-color: #e24446; }
.alert-box-error { background-color: #e24446; }
.alert-box-warning { color: #222; background-color: #ff0; }
.alert-box-message { color: #8cb900; background-color: #fff; }
.text-warning { color: #8a6d3b; }
.alert-box-closer:hover { color: #ddd; }

body.hicle-events .content { background-color: #8ea366; }
body.event-mtx .content { background-color: #3b426e; }
body.event-fwb .content { background-color: #a10e16; }
body.event-ebc .content { background-color: #0a809f; }
.main-content-with-sidebar { background-color: #fff; }

/* font
------------------------------------------*/
html { font-size: 62.5%; }

body {
  font-size: 1.6em; 
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

h1 { font-size: 2.8rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 2.4rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 2.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 1.6rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.2rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.0rem; line-height: 1.6;  letter-spacing: 0; }

.blog-featured h1 { font-size: 2rem; line-height: 2.0; } 

tfoot { font-weight: bold; }

a, a:visited { text-decoration: none; }

.detail-menu > ul > li a { line-height: 1.4; }
.detail-menu > ul > li > a,
.detail-menu .nav-header,
.mod-languages { font-weight: bold; }
.detail-menu > ul ul { font-size: 90%; }
.detail-menu > ul > li > a, .mod-languages { line-height: 35px; }

.alert-box { font-weight: bold; }
.text-warning { cursor: default; font-size: 1.1rem; }
.alert-box-closer { font-weight: bold; font-size: 3rem; cursor: pointer; }

@media (min-width: 550px) {
  h1 { font-size: 3.3rem; }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 2.4rem; }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.6rem; }
  h6 { font-size: 1.0rem; }
}

/* heights
------------------------------------------*/
.event-menu > ul { max-height: 44px; }
.detail-menu { height: 35px; }
.blog-featured p { min-height: 60px; }
.blog-featured p.readmore { min-height: 10px; }
.blog-featured h1 + p { max-height: 300px; min-height: 10px; }
/* an empty floating column will occupy no width, disturbing my layout */
.column, .columns { min-height: 1px; }

@media (min-width: 550px) {
}

@media (min-width: 990px) {
  .event-menu > ul { max-height: 70px; }
}

/* images
---------------------------------------------------*/
img.responsive { width: 100%; height: auto; }
.column img, .columns img { max-width: 100%; }
.event-menu li img { width: 100%; height: auto; }
.blog-featured h1 + p img { width: 100%; height: auto; }


/* layouts
------------------------------------------*/
*, :before, :after { box-sizing: border-box; }
.container:after, .row:after, .clear-float, .clear:after {
  content: "";
  display: table;
  clear: both; 
}

.inbl { display: inline-block; }
.container { position: relative; }
.hide-on-mobile { display: none; }

div.youtube, iframe.youtube { position: relative; }

ul.menu li { display: inline-block; }
ul.menu a, .nav-header { display: block; }

.event-menu > ul { overflow: hidden; }
.event-menu > ul > li { float: left; display: block; }

.footer-menu ul { overflow: hidden; }
.footer-menu ul > li:last-child { float: right; }

.detail-menu { position: relative; display: block; }
.detail-menu > ul > li > ul { display: none; position: absolute; z-index: 1; }
.detail-menu > ul > li:hover > ul { display: block; left: 0; right: 0; }
.detail-menu > ul > li > ul > li > ul li { display: block; }

.cols-2 { overflow: hidden; }
.cols-2 > .item { float: left; }

.alert-box { position: relative; }
.alert-box-closer { position: absolute; top: 0; right: 1rem; }
.blog-featured h1 { overflow: hidden; white-space: nowrap; }
.blog-featured h1 + p { overflow: hidden; }
.blog-featured .items-row { overflow: hidden; }
.column, .columns, .rest { float: left; }

.mod-languages { position: absolute; top: 0; right: 0; }

@media (min-width: 550px) {
  .mobile-only { display: none; }
  .hide-on-mobile { display: block; }
  .rest { overflow: hidden; }
  .event-menu li { float: right; }
}

/* list
------------------------------------------*/
ul { list-style: disc outside; }
ol { list-style: decimal outside; }
ul.menu, ul.unstyled, ul.lang-inline { list-style: none; }

/* margins
---------------------------------------------------*/
ol, ul { margin-top: 0; }
ul ul, ul ol, ol ol, ol ul { margin: 1.5rem 0 1.5rem 3rem; }
ul.menu, ul.menu ul { margin: 0; }
ul.menu li { margin-right: 15px; }
button, .button { margin-bottom: 1rem; }
input, textarea, select, fieldset { margin-bottom: 1.5rem; }
p { margin: 0; }
pre, blockquote, dl, figure, table, p, ul, ol, form, .section {
  margin-bottom: 2rem; 
}
input + .error, textarea + .error, select + .error, fieldset + .error {
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}
h1, h2, h3, h4 { margin: 0 0 2rem 0; }
h5, h6 { margin: 0; }

div.item-separator { margin-bottom: 40px; }
.detail-menu > ul > li { margin-right: 2px; }
.detail-menu > ul > li > ul > li { margin-left: 15px; }
.alert-box { margin: 10px 0; }
.blog-featured h1 { margin: 0; }
.blog-featured h1 + p { margin: 0; }
.blog-featured .items-row { margin-bottom: 20px; }
.container { margin: 0 auto; }
.edition-menu li { margin-right: 0 !important; margin-left: 4%; float: left; }
.edition-menu li:first-child { margin-left: 0; }
.cols-2 > .item { margin-left: 4%; }
.cols-2 > .item:first-child { margin-left: 0; }

@media (min-width: 550px) {
  .column, .columns { margin-left: 4%; }
  .column:first-child, .columns:first-child { margin-left: 0; }
  .twelve.columns    { margin-left: 0; }
  .offset-one,
  .offset-one:first-child { margin-left: 8.6666666667%; }
  .offset-two,
  .offset-two:first-child { margin-left: 17.3333333333%; }
  .offset-three,
  .offset-three:first-child { margin-left: 26%; }

/*
  .blog-featured .items-row { margin-bottom: 0px; }
  .blog-featured .items-row .item { margin-bottom: 20px; }
  */
}

/* padding
------------------------------------------*/
ol, ul { padding-left: 2rem; }
ul.menu, ul.menu ul { padding: 0; }
.panel { padding: 1rem; }
.event-menu li { padding-top: 3%; }
.event-menu li.current, .event-menu li.active { padding-top: 0; }

.edition-menu li a { padding: 20px; }
.alert-box { padding: 2px 5px; }
th, td { padding: 12px 15px; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
.blog-featured p { padding: 10px; }
.blog-featured h1 { padding: 0 10px; }
.blog-featured h1 + p { padding: 0; }
.main-content-with-sidebar, .footer-menu { padding: 15px; }

.detail-menu > ul > li > a, .mod-languages a { padding: 0 8px; }
.detail-menu > ul > li > ul { padding: 0 0 10px 0; }
.detail-menu > ul > li > ul > li,
.detail-menu > ul > li > ul li.deeper { padding-top: 10px; }

@media (min-width: 550px) { 
  .event-menu { padding-top: 40px; }
}

@media (min-width: 990px) { 
  .container { padding: 0 2rem; }
  .detail-menu > ul > li > a, .mod-languages a { padding: 0 15px; }
  .detail-menu > ul > li > ul { padding: 0 0 15px 0; }
  .detail-menu > ul > li > ul > li,
  .detail-menu > ul > li > ul li.deeper { padding-top: 20px; }
}

/* shadow
------------------------------------------*/
.content { box-shadow: 0 -3px 3px 3px rgba(0,0,0,0.08); }
.edition-menu li a:hover { box-shadow: 0 0 3px 3px rgba(0,0,0,0.08); }

/* widths
------------------------------------------*/
.container { width: 100%; max-width: 1140px; }
.column, .columns, .rest { width: 100%; }
.event-menu li { max-width: 100px; }
.edition-menu li { width: 48%; }
.cols-2 > .item { width: 48%; }
.detail-menu { width: 100%; }
iframe { max-width: 100%; }

@media (min-width: 550px) {
  .container { width: 85%; }
  .one.column,
  .one.columns       { width: 4.66666666667%; }
  .two.columns       { width: 13.3333333333%; }
  .three.columns     { width: 22%;            }
  .four.columns      { width: 30.6666666667%; }
  .five.columns      { width: 39.3333333333%; }
  .six.columns       { width: 48%;            }
  .seven.columns     { width: 56.6666666667%; }
  .eight.columns     { width: 65.3333333333%; }
  .nine.columns      { width: 74.0%;          }
  .ten.columns       { width: 82.6666666667%; }
  .eleven.columns    { width: 91.3333333333%; }
  .twelve.columns    { width: 100%; }

  .one-third.column  { width: 30.6666666667%; }
  .two-thirds.column { width: 65.3333333333%; }

  .one-half.column   { width: 48%; }
}

@media (min-width: 990px) {
  .container { width: 80%; }
  .event-menu li { max-width: 180px; }
}





/* rarr 

ul.rarr { list-style: none; padding: 0; margin: 0; }
ul.rarr li { padding-left: 3rem; display: block; position: relative; }
ul.rarr li:before {
  content: "\2192";
  color: #cd071e;
  position: absolute;
  left: 0;
  top: 0;
}

*/
/* form

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; *//* The 6px vertically centers on FF, ignored by Webkit *//*
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  width: 100%;
}

/* Removes awkward default styles on some inputs for iOS *//*
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; 
}

textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; 
}

textarea.large {
  min-height: 130px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; 
}

label,
legend {
  display: block;
  margin-bottom: 0;
}

fieldset {
  padding: 0;
  border-width: 0; 
}

input[type="checkbox"],
input[type="radio"] {
  display: inline; 
}

label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; 
}

label > .label-description {
  display: block;
  font-weight: normal;
  font-size: 80%;
  margin-top: -.5rem;
  color: #555;
}

/* hide spinner on number input types *//*
input[type=number] {-moz-appearance: textfield;}
::-webkit-inner-spin-button { -webkit-appearance: none;}
::-webkit-outer-spin-button { -webkit-appearance: none;}

@media (min-width: 550px) {
  .form-horizontal label.label-caption {
    text-align: right;
  }
}
*/

