/*TEXT AND GENERAL*/

@font-face {
    font-family: didot;
    src: url(DidotLTStd-Roman.otf);
}

@font-face {
    font-family: didotitalic;
    src: url(DidotLTStd-Italic.otf);
}

.general,
body {
    font-family: didot, times, serif;
}

* {
    margin: 0;
}

html,
body {
    height: 100%;
    min-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-size: 100%;
    /* min-width: 950px; */
}

/* LINKS */

a {
    font-size: 1.875em;
    font-weight: normal;
    color: black;
    text-decoration: inherit;
}

a:active {
    color: red;
}




/* MENU BUTTON */


.menubutton {
  background-color: #fbfbfb;
  max-width: 5%;
  min-width: 50px;
  float:right;
  margin-right: 5%;
  display: none;
}

.menuline {
border: solid lightgrey 2px;
border-radius: 5px;
width: 85%;
height: 0px;
margin-left: auto;
margin-right: auto;
}

.spcr {
  height: 2px;
}



.dropdown li a {
    font-size: 1.7em;
}

/*entire iframe*/
/* NOW THE NAV SECTION */



.nav {
    margin-top: 2%;
    margin-left: 2%;
    position: fixed;
    z-index: 2;
    display: inherit;
    width: inherit;

}

.nav_background {
    width: 100%;
    height: 130px;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    z-index: 2;
}


/*
nav section
*/

/* .navel {} */

.navc {
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    z-index: 2;
}


/* LIST OF LINKS */

ul {
    list-style: none;
    display: inline;
    margin: 0;
    padding: 0;
}
/*
ul li {
    white-space: nowrap;
} */

.navbar ul {
    display: inline-block;
    margin-bottom: 0px;
}

.navbar ul a {
    font-size: 1.35em;
}

/*The next two deal with hovering submenus appearing*/

.navbar ul ul {
    display: none;
}

.navbar ul li:hover > ul {
    display: block;
}

.navbar ul li:hover > ul {
    margin: 0px;
    padding: 15px 0px 0px 0px;
}

.navbar ul li:nth-child(1):hover > ul {
    margin: 5px 0px 0px -10px;
    padding: 15px 10px 0px 10px;
}

.navbar ul li:nth-child(2):hover > ul {
    margin: -2px 0px 0px -10px;
    padding: 15px 10px 0px 10px;
}

.navbar ul li:hover > ul li {
    float: none;
    display: block;
}


/*link colors in drop down menus*/
/* 
.navbar ul li:hover > ul li a {}

.navbar ul li:hover > ul li a:hover {} */

.navbar ul li {
    position: relative;
}

.navbar ul li ul {
    position: absolute;
    /* top: 20px; */
    left: 10px;
}


/*navcats is the ul that contains the whole nav section*/

#navcats {
    float: right;
    margin-right: 5%;
    margin-top: -20px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative
}


/* I really, REALLY need to fix the BS happening with this */
ul li {
    display: inline;
    position: relative;
}

/* but until then: */
.links li {
    display: block;
}

li ul li {
    display: block;
}

.dropdown {
    position: absolute;
 

}


/* dropdown backgrounds*/

.floatingbox {
    background: #f8f8f8;
    opacity: 0.8;
    
}

#navcats ul li ul #bwdd {
    width: 92%;
}


/*
#codd {
	width:80%;
}
*/

.navbar ul li a:hover {
/*    border-bottom-style: solid;
    border-bottom-width: 4px;
    padding-bottom: 4px;
    border-bottom-color: rgba(240, 240, 240, 0.8); */
    background-color: rgba(240, 240, 240, 0.8);
}

.navbar ul li:hover * {
    border-bottom-style: none;
/*    padding: 0px;*/
}

.colorbox {
    background: #f8f8f8;
    opacity: 0.8;
    height: 99px;
    width: 172px;
    position: absolute;
    top: 10px;
}

/* END OF NAV SECTION */



/*HOMEPAGE IMAGE CUSTOMIZATION*/

.background_image_container {
    position: relative;
    height: 80%;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    top: 115px;
    overflow: hidden;
}

.background_image_container.fill {
    width: 100%;
    height: 100%;
    opacity: 0.2;
    position: absolute;
    top: 0px;

}

.background_image {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.background_image_container.fill img {
    width: 100%;
    filter: blur(2px);
}


/*Bottom copyright text*/

.bottom_envelope {
  position:fixed;
  /* float: right; */
  bottom: 0px;
  width:  100%;
}


/* EDIT IP */
.bottom_bar {
  clear: right;
  text-align:  center;
    font-size: 0.95em;
  /* width: 50em; */
    margin-left: auto;
    margin-right: auto;
    /* position: fixed;
    bottom: 0px; */
    /* left: 50%;
    margin-left: -300px; */
    border-top-style: solid;
    border-color: black;
    border-width: 1px;
    padding-top: 5px;
    background: rgb(250, 250, 250);
    background: rgba(250, 250, 250, 0.9);
    z-index: 2;
}
.copyright {
  /* width: 320px; */
  /* margin-left: 140px; */
  text-align:  center;
}

body {
    position: relative;
}


.bottomBG {
  background: rgb(250, 250, 250);
  background: rgba(250, 250, 250, 0.9);
}


/*Slideshows*/

.slideshow {
    top: 130px;
    z-index: -1;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.slideshow img {
    max-width: 100%;
    max-height: 90%;
}


/*
.item {
	float:left;

}

.item img {
	display:block;
	width:auto;
}
*/

.ss_wrapper {
    width: 100%;
    height: 100%;
}

#no-template-pager img {
    cursor: pointer;
}

#wide_img {
width: 1000px;
    height: auto;
}


/*Slideshow captions*/

/* EDIT IP */
.ss_cap {
    float: right;
    clear: both;
    /* position: fixed;
    bottom: 0px;
    right: 0px; */
    padding-right: 2%;
    z-index: 2;
    font-family: didotitalic;
    font-size: 1.2em;
}

/*  EDIT IP */
.prnx {
    float: right;
    /* position: fixed;
    bottom: 20px;
    right: 0px; */
    padding-right: 2%;
    z-index: 2;
    font-size: 1.2em;
}

.prnx a {
    font-size: 1em;
}


/*Slideshow Arrows*/

#ss_arrows div {
    display: inline-block;
}

#ss_arrows {
    width: 69%;
    margin: 0 auto;
    height: 75px;
    position: relative;
    bottom: 200px;
}

#right_arrow {
    float: right;
}

#ss_arrows div a img {
    height: 100%;
}

#ss_arrows div a {
    height: 100%;
}

#ss_arrows div {
    height: 100%;
}


/*Category pages*/

.cat_link {
    position: relative;
    top: 200px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

td {
    padding: 0px 15px;
}

.cat_caption {
    white-space: nowrap;
    text-align: center;
}

.film_container {
    padding-top: 130px;
    margin-left: auto;
    margin-right: auto;
    width: 560px;
}

.film_container iframe {
    margin: 30px 0px;
}

.film_container iframe:first-child {
    margin-top: 0px;
}

.film_container iframe:last-child {
    padding-bottom: 200px;
}

.contact_page {
    top: 130px;
    position: relative;
    padding-bottom: 50px;
}

.contact_page img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
}

.contact_page p {
    width: 358px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    text-align: justify;
}

.contact_page p:nth-child(3) {
    text-align: center;
}

.cv_page {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 130px;
    padding-bottom: 150px;
}

h2 {
    font-weight: normal;
}

.cv_page ul h2 {
    border-top-style: solid;
    border-width: 1px;
    margin-top: 25px;
    padding-top: 0.5em;
}

.cv_page ul h2:first-child {
    margin-top: 0px;
}

.cv_page ul li {
    margin-left: 25px;
    display: block;
    padding-left: 25px;
    text-indent: -25px;
}

.cv_page ul li.secondary {
    margin-left: 55px;
}

/* SPACE CV ITEMS */
li + li:not(.secondary){
  padding-top: 0.5em;
}


.cv_page {
    margin-bottom: 50px;
}

.cycle-slideshow {
    height: 80%;
}

.cycle-slideshow img {
    /* height: 100%;
    max-height: 800px; */
    width: auto;
}




.ss_arrow_hack {
    top: 350px;
}


#cap_a {
    font-size: 1.2em;
}
.link_resize {
    font-size: inherit;
}


/*M  */
/* E */
/*D  */
/* I */
/*A  */
/*  */
/*  */
/*  */
/*  */


/* MOBILE STYLES */
/* MOBILE STYLES */
/* MOBILE STYLES */


@media only screen and (max-width: 800px) {
html, body {
  width: 100%;
}

iframe {
  display: inherit;
  width: inherit;
}

/* SHOW MENU BUTTON */
.menubutton {
  display: inline-block;
}

/* #navcats {
  display: none;
} */

div.navbar ul.dropdown {
  display: none;
}

div.navbar ul.show {
  display: block;
}


/*entire iframe*/

/* #alp {
  display: inline;
} */



.nav {
    margin-top: 0%;
    margin-left: 0%;
    position: inherit;
    z-index: 2;
    display: inherit;
    width: inherit;

}

.nav_background {
    width: 100%;
    height: auto;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    position: inherit;
}


/*
nav section
*/

/* .navel {} */

.navc {
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    z-index: 2;
}

ul {
    list-style: none;
    display: inherit;
    margin: 0;
    padding: 0;
}

/* ul li {
    white-space: nowrap;
} */

.navbar ul {
    display: inherit;
    margin-bottom: 0px;
}

.navbar ul a {
    font-size: 1.35em;
}

/*The next two deal with hovering submenus appearing*/

.navbar ul ul {
    display: none;
}

.navbar ul li:hover > ul {
    display: block;
}

.navbar ul li:hover > ul {
    margin: 0px;
    padding: 15px 0px 0px 0px;
}

.navbar ul li:nth-child(1):hover > ul {
    margin: 5px 0px 0px -10px;
    padding: 15px 10px 0px 10px;
}

.navbar ul li:nth-child(2):hover > ul {
    margin: -2px 0px 0px -10px;
    padding: 15px 10px 0px 10px;
}

.navbar ul li:hover > ul li {
    float: none;
    display: block;
}


/*link colors in drop down menus*/
/* 
.navbar ul li:hover > ul li a {}

.navbar ul li:hover > ul li a:hover {} */

.navbar ul li {
    position: relative;
}

.navbar ul li ul {
    position: absolute;
    top: 20px;
    left: 10px;
}


/*navcats is the ul that contains the whole nav section*/

#navcats {
    float: inherit;
    margin-right: inherit;
    margin-top: inherit;
    padding-left: inherit;
    padding-right: inherit;
    position: inherit;
}

ul li {
    display: inline;
    position: relative;
}

li ul li {
    display: block;
}

.dropdown {
    position: inherit;
}


/* dropdown backgrounds*/

.floatingbox {
    background: #f8f8f8;
    opacity: 0.8;
}

#navcats ul li ul #bwdd {
    width: 92%;
}


/*
#codd {
	width:80%;
}
*/

.navbar ul li a:hover {
/*    border-bottom-style: solid;
    border-bottom-width: 4px;
    padding-bottom: 4px;
    border-bottom-color: rgba(240, 240, 240, 0.8); */
    background-color: rgba(240, 240, 240, 0.8);
}

.navbar ul li:hover * {
    border-bottom-style: none;
/*    padding: 0px;*/
}

.colorbox {
    background: #f8f8f8;
    opacity: 0.8;
    height: 99px;
    width: 172px;
    position: inherit;
    top: 10px;
}
/* ////////////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////////////// */

#fi{
  display: none;
}

/* iframe {
  /*height:auto;
} */

.slideshow {
  width: 95%;
  top: initial;
}

.cycle-slideshow img {
height: initial;
max-height: 90%;
width: 100%;
object-fit: contain;
}

.ss_wrapper {
  overflow: hidden;
  /* height: initial; */

}

/* BOTTOM BAR AND CAPTION */

/* EDIT IP */
.ss_cap {
  padding-right: 1%;
  /* bottom: 1.2em; */
}


/* EDIT IP */
.prnx {
  padding-right: 1%;
  /* bottom: 2.4em; */
}

/* NEED TO FIX PROJECT LIST NOT USE TABLE OR MORE ELEGANT */

.cat_link {
  top: 0px;
}

.cat_link tr td {
  display: block;
}



.spacer {
  height: 3em;
}

.contact_page {
  top: 2em;
}


.cv_page {
  width: 90%;
}

}/*end media*/

@media only screen and (min-width: 1280px){


/* FIX CV PAGE WIDTH */
.cv_page{
  left: -100px;
  width: 50%;
}

ul li {
    white-space: nowrap;
}

}/*end big screen*/

@media only screen and (max-width: 350px){

  .ss_cap, .copyright, .prnx {
    font-size: 1em;

  }


}
