/* =================================
Nav Styles
==================================== */

body {
    font-family: "Futura", sans-serif;
}

a {
    color: white;
}

h3  {
  color: #2E2E2E;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  text-align: center;
}

a:hover {
    color: #D35400;
}

.topnav {
    overflow: hidden;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 3px;
    right: 2px;
    background: transparent;
    z-index: 100;
}

/* Style the links inside the navigation bar */
.topnav a {
    display: flex;
    font-family: "Montserrat", sans-serif;
    color: black;
    text-align: center;
    padding: 14px 1.25em;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.25em;
}

.topnav a:first-child {
  display: none;
}

.topnav a:last-child {
  size: 20px;
}

/* Change the color of links on hover */
.topnav a:hover:not(:last-child){
    text-decoration: underline;
}

#logo {
    z-index: 100;
    display: none;
}

.subnav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.subnav a {
  font-family: "Montserrat", sans-serif;
  color: #D35400;
  font-size: 1.15em;
}

.subnav a:hover {
  color: darkgrey;
  text-decoration: none;
}

#active {
  color: dimgrey;
}

/* =================================
Header Styles
==================================== */

.jumbotron {
  font-family: "Montserrat", sans-serif;
  }

  .lead a {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    color: #D35400;
  }

/* =================================
Content Styles
==================================== */

.main {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15em;
  width: 90%;
  text-align: left;
  margin: auto;
}

/* production team card buttons */

.btn {
  font-family: "Montserrat", sans-serif;
  color: #D35400;
  font-size: 1.15em;
  text-decoration: none;
}

.btn:hover {
  color: darkgrey;
  text-decoration: none;
}

/* tables on press/press kit/screenings pages */

.article-table {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.table a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15em;
  font-weight: bold;
  color: #D35400;
  padding-left: 20px;
}

.table p {
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  color: dimgrey;
  padding-left: 20px;
}

.table i {
  color: black;
}

.media-logo {
  display: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#media1,
#media3 {
  background-image: url(../images/NYT-logo.png);
}

#media2 {
  background-image: url(../images/2018-The-Guardian-logo-design.png);
}

#screening1,
#screening2,
#screening3,
#screening4,
#screening5 {
  display: none;
}

#media1 {
  display: none;
}

#more-resources {
  text-align: center;
}

/* host a screening info */

.host {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Montserrat", sans-serif;
}

.host h2 {
  color: #D35400;
  font-weight: bold;
}

.screening-email {
  text-align: center;
  background-color: lightgrey;
  border-radius: 5px;
  padding: 10px;
}

.main a {
  color: #D35400;
}

.main a:hover {
  text-decoration: underline;
}

.row {
  margin-left: 15%;
  margin-right: auto;
  text-align: left;
  font-size: .85em;
}

#services {
  margin-top: 1.5em;
}

/* buttons on donate page */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button {
  position: inherit;
  font-family: "Futura";
  text-transform: uppercase;
  font-size: 1em;
  padding: .65em 4em;
  border-radius: 16px;
  margin-left: auto;
  margin-right: auto;
  background-color: #000;
  color: #fff;
}

.button:hover {
  background-color: #D35400;
  color: white;
  cursor: pointer;
}

.button:focus {
  outline: 0;
}

#wings {
  margin-top: 3em;
  margin-bottom: 3em;
}

#donor-form {
  padding: .65em 2.5em;
}

/* =================================
Footer Styles
==================================== */

.wrapper {
  position: relative;
  margin-bottom: 2em;
  margin-left: auto;
  margin-right: auto;
}

.footerwrapper {
  position: absolute;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  margin-top: 3em;
  padding-top: 2em;
  padding-bottom: 2em;
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 2em;
}

#facebook {
  margin-right: 2em;
}

.contact,
.copyright {
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
}

.contact {
  margin-bottom: .5em;
}

/* =================================
Media Queries
==================================== */

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:last-child) {display: none;}
  .topnav a.icon {
    display: inline-block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    display: inline-flex;
    flex-direction: column;
    text-align: center;
  }

  .topnav.responsive {
      flex-direction: column;
  }

  .topnav.responsive a:first-child {
    margin-top: 1.5em;
  }
}

@media (min-width: 601px) {

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

#logo {
  width: 5em;
  height: 4.9em;
  display: flex;
  position: absolute;
  top: 3px;
  left: 8px;
  background: transparent;
}

#logo :hover {
  cursor: pointer;
  border-radius: 16px;
}

.subnav {
  font-size: 1.15em;
}

.main {
  font-family: "Montserrat" sans-serif;
  font-size: 1.25em;
  width: 80%;
  text-align: justify;
}

}

@media (min-width: 768px) {

#presskit {
  width: 55%;
}

#screening1,
#screening2,
#screening3,
#screening4,
#screening5 {
  background-image: url(../images/festival_logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: table-cell;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
}

#screening2 {
  background-image: url(../images/cinema-verde-2015-logo.png);
}

#screening3 {
  background-image: url(../images/Colorado-Film-Festival.png);
}

#screening4 {
  background-image: url(../images/laurels_sedona.png);
}

#screening5 {
  background-image: url(../images/valle.png);
}

#media1 {
  background-image: url(../images/lm_logo_2018-large.png);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center;
  display: table-cell;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
}

#screening_info {
  padding-left: 10%;
}

.media-logo {
  display: table-cell;
  width: 20%;
  height: 100;
  margin-left: auto;
  margin-right: auto;
}

h3  {
  font-size: 1.3em;
}

.footerwrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-left: 2em;
  padding-right: 2em;
}

.social {
  order: 1;
  align-items: center;
  margin-bottom: 0;
}

#facebook {
  margin-left: -3.5em;
}

.contact {
  order: 0;
  margin-bottom: 0;
}

.copyright {
  order: 2;
}

.googleform {
  margin-left: 50px;
}

@media (min-width: 940px) {

#presskit {
  width: 50%;
}

.article-table {
  width: 70%;
}

.host {
  width: 70%;
}

.row {
  margin-left: 20%;
  font-size: 1em;
}

#services {
  margin-top: 0;
}
}
