@font-face {
  font-family: 'Onassis';

  src: url('../fonts/Onassis.eot');
  src: url('../fonts/Onassis.eot?#iefix') format('embedded-opentype'), url('../fonts/Onassis.woff2') format('woff2'), url('../fonts/Onassis.woff') format('woff'), url('../fonts/Onassis.ttf') format('truetype');
  
  font-weight: normal;
  font-style: normal;
  
}

@font-face {
font-family: 'Onassis';
  src: url('../fonts/Onassis_italic.eot');
  src: url('../fonts/Onassis_italic.eot?#iefix') format('embedded-opentype'), url('../fonts/Onassis_italic.woff2') format('woff2'), url('../fonts/Onassis_italic.woff') format('woff'), url('../fonts/Onassis_italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
 }

 @font-face {
font-family: 'Onassis';
  src: url('../fonts/Onassis_bold.eot');
  src: url('../fonts/Onassis_bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Onassis_bold.woff2') format('woff2'), url('../fonts/Onassis_bold.woff') format('woff'), url('../fonts/Onassis_bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Onassis';
  src: url('../fonts/Onassis_bold_italic.eot');
  src: url('../fonts/Onassis_bold_italic.eot?#iefix') format('embedded-opentype'), url('../fonts/Onassis_bold_italic.woff2') format('woff2'), url('../fonts/Onassis_bold_italic.woff') format('woff'), url('../fonts/Onassis_bold_italic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}



body {
  font-family: Onassis, sans-serif;
  margin: 0;
  background: #fff; 
  color: #000;
}


    @media only screen and (min-width : 320px) {
body {
    font-size: 16px;
  }
    }

    @media only screen and (min-width : 480px) {
body {
    font-size: 18px;
  }
    }

    @media only screen and (min-width : 768px) {
body {
    font-size: 18px;
  }
    }

    @media only screen and (min-width : 992px) {
body {
    font-size: 17px;
  }
    }

    @media only screen and (min-width : 1200px) {
body {
    font-size: 22px;
  }
    }

h2
{
	font-size: 1.2em;
	margin-top:0;
}	
	
.navbar
{
	box-shadow: none;
	border: 0;
	background: none;
}

 .affix {
      top: 20px;
  }
  
  ul.csubmenu
  {
	  padding-left:15%;
	 /* font-size: 0.85em;*/
  }

  a
  {
	  color: #000;
  }
  
  .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover, .nav-pills>li.active>a
  {
	  color: inherit;
	  border: 0;
	  background: none;
	  font-weight: bold;
  }
  
  #pmenu > li:before{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='90%' height='90%' viewBox='-0.5 -0.5 11 11' preserveAspectRatio='xMidYMid meet'><path d='M5,5 C5,7 4,8 6.5,11' stroke='green' fill='none' stroke-width='1'/><ellipse id='petal' cx='5' cy='2' ry='2.5' rx='1.5' fill='white' stroke='slateblue' stroke-width='0.5' /><use xlink:href='%23petal' transform='rotate(72 5 5)'/><use xlink:href='%23petal' transform='rotate(144 5 5)'/><use xlink:href='%23petal' transform='rotate(216 5 5)'/><use xlink:href='%23petal' transform='rotate(-72 5 5)'/><circle r='1' cx='5' cy='5' fill='goldenrod' stroke='yellow'/></svg>");
  background-position:center;
  background-size:90%;
  background-color:lightblue;
  border-radius:50%;
  width:20px;
  height: 20px;
}

#pmenu
{
	list-style-type: circle;
	/*list-style-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'><circle cx='50%' cy='50%' r='40%' stroke='#9c9c9c' stroke-width='2' fill='white' /></svg>");*/
}

#svgtest
{
	 background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30'><circle cx='15%' cy='15%' r='10%' /></svg>")  no-repeat;
	height: 50px;
  width: 50px;
}
  
ul, ol{
  display:inline-block;
  padding:0.5em;
  padding-left:2em;
  margin:0.5em;
}

.arrow-left {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  border-right:10px solid #000; 
  float: left;
}

.arrow-left-right {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  border-right:10px solid #000; 
  position: relative;
  left:100%;
  top: -20px;
  margin-left: 10px;
}

.arrow-up {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  
  border-bottom: 5px solid black;
}

.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  
  border-top: 20px solid #f00;
}

.arrow-right {
  width: 0; 
  height: 0; 
  border-top: 60px solid transparent;
  border-bottom: 60px solid transparent;
  
  border-left: 60px solid green;
}

p
{
  margin-bottom: 30px;
  line-height: 125%;
}

#projects
{
	/*padding:2%;	*/
}

@media only screen and (min-width : 1200px) {
#projects .col-md-3 
{
    width: 30%;
}
}

.projectbox, img.gimage { 
    /*border: 10px solid #fff;*/
    padding: 0;
	box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
	/*
    -webkit-border-image: url('../img/project-border.png') 30 stretch; 
    -o-border-image: url('../img/project-border.png') 30 stretch; 
    border-image: url('../img/project-border.png') 30 stretch;
*/
	
	margin: 1%;

}
    
.projectboxin
{
	overflow: hidden;
	position: relative;
    line-height: 0;
    width: 100%;
    height: 0;
	padding-bottom:calc(100% + 20px);
	/*font-size: 1.25em;*/
}

.projectboxin-single
{
	/*overflow: visible;*/
	position: relative;
    line-height: 0;
    width: 100%;
    height: 0;
	padding-bottom:100%;
	/*font-size: 1.25em;*/
}

.projectboxcontent
{
    
	padding:20px;
	/*padding-bottom: 33.333333%;*/
	padding-bottom: 30%;
	margin-top:18px;
    line-height: 1.15;
    overflow: hidden;
    color: #fff;
	background: rgba(0,0,0,0.85);
    width: calc(100% + 30px);
	margin-left: -10px;
	height:0;
}

.itemtagscolors
{
    width: calc(100% + 30px);
	margin-left: -10px;
	
	
}

#projects a:nth-child(2n+0) .projectbox .projectboxcontent
{
	margin-top:12px;
}

#projects a:nth-child(2n+1) .projectbox .projectboxcontent
{
	margin-top:106px;
}

#projects a:nth-child(3n+0) .projectbox .projectboxcontent
{
	margin-top:44px;
}

div.pimage
{
	 background-size:cover; 
	 width: 100%;
	 padding-bottom:100%;
	/* z-index:-1;*/
	 border:10px solid #fff;
}


ul.custom-bullet, ol.custom-bullet{
  list-style:none;
  margin-left:15%;
}
ul.custom-bullet > li, ol.custom-bullet >li {
  clear:left;
}
ol.custom-bullet {
  counter-reset: liNum;
}
ol.custom-bullet > li {
  counter-increment:liNum 1;
}

ul.custom-bullet > li:before, ol.custom-bullet > li:before {
  content:"";
  height:1em;
  width:1em;
  display:block;
  float:left;
  margin-left:-1.5em;
  background-position:center;
  background-repeat:no-repeat;
  background-size:100%;
}
ol.custom-bullet > li:before{
  content:counter(liNum);
  text-align:center;
}
ul.ccircle > li:before{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'><circle cx='50%' cy='60%' r='25%' stroke='grey' stroke-width='1' fill='white' /></svg>");
  background-size:90%;
  background-position:center;
  transition: background-size 0.3s;
  -webkit-transition: background-size 0.3s;
}
ul.ccircle > li:hover:before{
  background-size:100%;
}

ul.ccircle > li > a:hover
{
	color: #95989A;
}

ul.nav > li > a:hover, ul.nav > li > a:active
{
	color: #95989A;
	background: none;
	border: none;

}

ul.nav > li > ul
{
	margin-top: 0;
    padding-top: 0;
	font-size: 0.82em;
}

ul.nav > li > ul > li
{
    padding-bottom: 10px;
}

ul.nav > li
{
	font-size: 0.86em;
}

div.projectAdFields a
{
 
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  
  word-break: break-all;
 
  word-break: break-word;

}

div.projectAdFields, h4.panel-title, div.panel-body
{
	font-size: 0.77em;
}

div.rowright
{
	padding: 2.6666667%;
	/*padding-left: 1%;
	padding-right: 1%;*/
	
}

div.rowmenu
{
	padding-top: 2.6666667vh;
}
	
div#rightcontent
{
	background: url('../img/menu-bg.jpg') repeat-y;
}		

div.rightcontentnobg
{
	background: none;
}		
	
div#rightcontent > div.rowright:nth-child(2)
{
	padding-top:0;
}

.modal-backdrop
{
    opacity:0 !important;
}

div#bioModal div.modal-content
{
	background: #ffe200;
	padding: 7.4%;
	/*height:60vh;*/
}

.modal-dialog {
    margin: 9% auto;
    /*width: 42%;*/
	max-height: 80vh;
	overflow-y: scroll;
	
}

@media only screen and (min-width : 1400px) {
.modal-dialog {
    width: 35%;
}

	}

a.authorLink
{
	color: #ffe200;
}
	
a.authorLink:focus, a.authorLink:hover, a.authorLink:active, a.authorLink:visited
{
	color: #ffe200;
	text-decoration: none;
}

.modal-content
{
	/*overflow-y: scroll;*/
}

.modal-content::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.modal-content::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

.modal-content::-webkit-scrollbar-thumb {
	background-color: #000000;
}

a.authorLink.active
{
	color: #ffe200;
	text-decoration: none;

}

p.project-authors
{
	font-size:69%;
	line-height:1.2em;
	padding-top:10px;
}

div#mmenu
{
	z-index: 2000;
}

.navbar-toggle
{
	background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    float: right;
    margin-bottom: 8px;
    margin-top: 8px;
    position: relative;
    width: 18%;
	margin-right:0;
}

img.logoimage
{
	width:76%;
	max-width:225px;
	margin-left:-15px;
	float:left;
	padding-top:8px;
}

.carousel-caption {
    width: 100%;
	
    padding-bottom: 0;
    padding-left:5%;
	padding-right:5%;
}
.carousel-caption {
    bottom: 20px;
    color: #fff;
    padding-top: 20px;
    position: absolute;
    left:0;
	right:0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    z-index: 10;
	background: rgba(0,0,0,0.4);
}

div#ccaptions h3, p.gcaption
{
	color:#000;
	font-size:0.7727em;
	padding-top:10px;
	text-align:center;
	width:85%;
	display:block;
	margin-left:auto;
	margin-right:auto;
	/*min-height: 15vh;*/
	min-height: 150px;
}

img.gimage
{
	padding: 6px;

}

img.slogo
{
	display: block;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
	max-width: 180px;
}

.boxplusx-caption > .boxplusx-title {
    font-size: 0.8em;
    font-weight: bold;
    line-height: 20px;
    width: 85%;
}

div.pimages_thumbs
{
	margin-top:20px;
}

div.pimages_thumbs img
{
	margin-right: 10px;
}

.projectboxcontent-project {
    background: rgba(0, 0, 0, 0.85) none repeat scroll 0 0;
    bottom: 0;
    color: #fff;
    height: 0;
    line-height: 1.15;
    margin-left: -10px;
    margin-top: 18px;
    overflow: hidden;
    padding: 20px 20px 20%;
    position: absolute;
    width: calc(100% + 30px);
}

input#searchbox
{
	border-bottom: 1px solid #000;
	padding:0;
	margin:0;
	margin-top: -14px;
	
}

div#searchResults
{
	max-height: 50vh;
	/*border: 1px solid #999;*/
	/*padding: 25px;*/
	/*visibility: hidden;*/
	/*overflow-y: scroll;*/
	overflow-x:hidden;
	font-size:0.75em;
	padding:0;
	width:100%;
	background: #fff;
}
div#searchResults div
{
	border-bottom: 1px dotted #ddd;
	padding: 10px 0;
}

div#searchResults div:hover
{
	/*background: #dedede;*/
}

.boxplusx-content > iframe
{
	min-height:25vh;
	display:block;
	margin-left:auto;
	margin-right:auto;
	/*margin-top:10%;*/
	max-width:100%;
}

.project-info-smaller
{
	font-size: 90%;
}

 /* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
	background: #fff;
	color: #000;
    left: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */ 
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
 /*   padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;*/
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    /*color: #f1f1f1;*/
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
} 

.navbarhomeopen
{
	width: 300px;
}

iframe body .boxplusx-viewport, iframe body boxplusx-fixedaspect
{
	min-height: 400px;
}

