/* general definitions */
.body-all {
  background-color: #F2F6F9;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a.externlink[href^="http://"]:after,
a.externlink[href^="https://"]:after {
	content: url(http://upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png);
  	margin: 0 0 0 5px;
}

/* font definitons */

@font-face
{
font-family: acid-med;
src: url(../fonts/acid_medium.otf);
}

@font-face
{
font-family: acid;
src: url(../fonts/acid.otf);
}

@font-face
{
font-family: recta;
src: url(../fonts/recta-reg.otf);
}

@font-face
{
font-family: rectalite;
src: url(../fonts/recta-lite.otf);
}

@font-face
{
font-family: lib-txt;
src: url(../fonts/LinLibertine_R.otf);
}

/* homepage */

#homepage {
  position: fixed;
  top: -1px;
  left: -1px;
  width: 101%;
  height: 101%;
}

.hometable {
  cellspacing: 0px;
	border: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}

.homecell {
	border: 0px;
  background-color: blue
  width: 50%;
	height: 50%;
	top: 0px;
}

.celleuro {
  vertical-align: top;
  text-align: left;
}

.cellpub {
  vertical-align: top;
  text-align: right;
}

.cellinfo {
  vertical-align: bottom;
  text-align: left;
}

.cellinfra {
  vertical-align: bottom;
  text-align: right;
}

#naming{
  position: fixed;
  left:0.8em;
  top:1.6em;
  font-family: recta;
  font-size: 16px;
}

#badge{
  position: fixed;
  left:25%;
  top:25%;
  font-family: recta;
  font-size: 16px;
}

/* MQ for homepage*/

@media only screen and (max-width : 2000px),
only screen and (max-device-width : 2000px){
  .cellcontentsize{
    width: 360px;
  }
}

@media only screen and (max-width : 600px),
only screen and (max-device-width : 600px){
.cellcontentsize{
  width: 240px;
}
}

@media only screen and (max-width : 380px),
only screen and (max-device-width : 380px){
.cellcontentsize{
  width: 180px;
}
}


a.homepage:link {
	text-decoration:none;
}

a.homepage:visited {
	text-decoration:none;
}

a.homepage:hover {
	text-decoration:none;
}

a.homepage:active {
	text-decoration:none;
}

/* navbar */

#my-navbar {
  z-index: 1;
}

#nav-euro {
  position: fixed;
  top: -1px;
  left: -1px;

}
#nav-pub {
  position: fixed;
  top: -1px;
  right: -1px;

}
#nav-info {
  position: fixed;
  bottom: -1px;
  left: -1px;

}
#nav-infra {
  position: fixed;
  bottom: -1px;
  right: -1px;

}

/* europepage */

#euro-projects {
  position: relative;
  top: 20px;
  width: 75%;
  height: auto;
  text-align: center;
  /* if i want the box to be centered, use margin: auto */
  margin: auto;
}

.eutitle{
  font-family: recta;
  font-size: 36px;
  color: #0934D1;
}

.euintro{
  font-family: lib-txt;
  font-size: 18px;
}

.eusubtitle {
  font-family: rectalite;
  font-size: 24px;
}


#eurocarousel {
  border: 2px solid #0934D1;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
  font-family: rectalite;
  font-size: 18px;
}

.jumbotron{
  background-color:transparent !important;
}

.eurojumboimg {
  width: inherit;
  margin-bottom: 10px;
}

.eurojumbotitl {
  font-family: recta;
  color: #0934D1;
  font-size: 30px;
}

.eurojumbosubtitl {
  font-family: lib-txt;
  font-size: 16px;
}

.eurojumbotxt {
  font-family: lib-txt;
  font-size: 16px;
  text-align: justify;
}

/* publipage */

#publipage {
  position: relative;
  top: 20px;
  width: 75%;
  height: auto;
  /* if i want the box to be centered, use margin: auto */
  margin: auto;
}

.publititle{
  text-align: center;
}

.pubtitle{
  font-family: recta;
  font-size: 36px;
  color: #6FBC26;
}

.pubsubtitle{
  font-family: rectalite;
  font-size: 24px;
}

.pubintro{
  font-family: lib-txt;
  font-size: 16px;
  line-height: 19px;
}

.card {
    background-color: transparent !important;
    background-clip: border-box;
    border: 0px !important;
    border-radius: 0 !important;
    test-align: left;
}

.card-header {
    font-family: recta;
    padding: .5rem 1rem;
    margin-bottom: 0;
    background-color: transparent !important;
    border-bottom: 0px !important;
  }

.card-body {
  font-family: lib-txt;
  margin-left: 20px;
  margin-right: 30px;

}

.btn-link {
    color: #6FBC26 !important;
    font-size: 20px !important;
    background-color: transparent;
    padding: 0px !important;
    line-height: 1 !important;
  }

.btn-link:hover {
    color: #447215 !important;;
    text-decoration: underline;
    background-color: transparent;
    border-color: transparent;
}

.publegend{
  font-family: rectalite;
  font-size: 16px;
  line-height: -0.9;
}

.pubcardbodytitle{
  display: inline-block;
  font-family: lib-txt;
  font-size: 24px;
  text-decoration: underline;
  margin-bottom: 3px;
}

/* .badgepubpdf{
  display: inline-block;
  position: absolute;
  right: 150px;

} */

.badge-success{
  background-color: #6FBC26 !important;
}

.pubcardbodytxt{
  font-size: 18px;
  text-align: justify;
}

.pubcardbodyimg{
  width: inherit;
  margin-bottom: 10px;
}

a.pdflinkpub:link {
  font-family: recta;
	color: #fff;
}

a.pdflinkpub:visited {
  font-family: recta;
	color: #fff;
}

a.pdflinkpub:hover {
  font-family: recta;
	color: #fff;
}

a.pdflinkpub:active {
  font-family: recta;
	color: #fff;
}

/* poetics_infrastructure page */

#gallery {
  position: relative;
  top: 20px;
  width: 80%;
  height: auto;
  text-align: center;
  /* if i want the box to be centered, use margin: auto */
  margin: auto;
}

.infrastructurtitle{
  margin-bottom: 32px;
}

.infratitle{
  font-family: recta;
  font-size: 36px;
  color: #DB3A1B;
  margin-bottom: 2px;
}

.infrasubtitle {
  font-family: rectalite;
  font-size: 24px;
}

.infraintro{
  font-family: lib-txt;
  font-size: 18px;
}

.infracardbody{
  padding: 0.25rem !important;
  padding-top: 0.8rem !important;
  padding-bottom: 1.2rem !important;
  margin: 0px !important;
}

.infracardtitle{
  font-family: recta;
  font-size: 24px;
  color: #DB3A1B;
  margin-bottom: 0.15rem !important;
}

.infracardtext {
  font-family: rectalite;
  font-size: 14px;
}

.card-img-top {
    width: 100%;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}


@media only screen and (max-width : 2000px),
only screen and (max-device-width : 2000px){
  .modal-lg{
    max-width: 1000px !important;
  }
}

@media only screen and (max-width : 999px),
only screen and (max-device-width : 999px){
  .modal-lg{
    max-width: 800px !important;
  }
}

@media only screen and (max-width : 380px),
only screen and (max-device-width : 380px){
  .modal-lg{
    max-width: 360px !important;
  }
}

.infraimgmodal {
  width: 100% !important;
}

.modal-content{
  display: inline-block !important;
  border-radius: 0px !important;
}

/* informations ------------------------------------------------ */


#infopage {
  position: relative;
  top: 20px;
  width: 80%;
  height: auto;
  text-align: center;
  /* if i want the box to be centered, use margin: auto */
  margin: auto;
}

.info-title{
  margin-bottom: 36px;
}

.infotitle{
  font-family: recta;
  font-size: 36px;
  /* background-color: #F4F425; */
}

.infotxt{
  font-family: recta;
  font-size: 18px;
  text-align: justify;
}


a.backhome:link {
  font-family: rectalite;
  font-size: 14px;
  color: grey;
	text-decoration:none;
}

a.backhome:visited {
  color: grey;
	text-decoration:none;
}

a.backhome:hover {
  color: grey;
	text-decoration:underline;
}

a.backhome:active {
  color: grey;
	text-decoration:none;
}


.infocardtitle{
  font-family: rectalite;
  font-size: 24px;
  background-color: #F4F425;
}

a.infolink:link {
  color: #666;
	text-decoration:none;
}

a.infolink:visited {
  color: #666;
	text-decoration:none;
}

a.infolink:hover {
  color: #666;
	text-decoration:underline;
}

a.infolink:active {
  color: #666;
	text-decoration:none;
}

.portrait{
  width: 80% !important;
}
