/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #3b3b3b;
  font-size: 1em;
  line-height: 1.4;
}

input:focus, textarea:focus, select:focus{
  outline: 1px #465a7a;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
@charset "UTF-8";
/* CSS Document */

body, html{
  margin:0;
  padding:0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 300;
  /*
      overflow-x:hidden;
   */

}

/* css for navigation */

h2 {
  font-weight: 500;
}

.nav {
  display: flex;
  align-items:center;
  border-bottom: 1px solid #F2F2F2;
  height: 110px;
  width: auto;

}

nav {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  font-size: 20px;
  position: sticky;
  top: 0;
  z-index:100;
  background-color:#fff;
}

nav ul {
  display: flex;
  flex-flow: nowrap;
  list-style-type: none;
  padding-right: 15%;
}

nav ul li {
  padding:0 20px;
}

nav ul li a.active {
  border-bottom: 4px solid #098785;
  padding-bottom: 12px;
}

nav ul li a:hover {
  border-bottom: 4px solid #323232;
  padding-bottom: 12px;
}

nav ul li a {
  text-decoration: none;
  color: #323232;
}

#oc_logo {
  display:flex;
  padding-left: 15%;
  flex:2;
}

#oc_logo img {
  height: 52px;
  padding:0;
  margin:0;
}
/*
.container{
	display:flex;
	flex-direction:column;
	justify-content: center;
}

.row{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
}

.grad {
	background: linear-gradient(to right, #b41f73, #c51d7d)
}

.test{
	max-height: 400px;
	padding-top:50px;
	overflow: visible;
}

.test-img{
	align-self: flex-start;
}

.iPhone {
	margin:100px 25px;
	align-self: center;
}

.irc{

}
 */

/*
 .container {
 	display:grid;
 	grid-template-columns:1fr;
 	grid-template-rows: 400px, auto;
 }
 */

/*
 .row {
 	display:flex;
 	align-items:space-around;
 	justify-content: space-around;
 	flex-wrap:wrap;

 }
 */
.container{
  display:flex;
  flex-direction:column;
  justify-content: center;
  flex-wrap:wrap;
}

.row{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 400px;
  flex-wrap:wrap;
}


.playtexContainer, .hydroContainer{
  display:flex;
  flex-direction:column;
  justify-content: center;
  flex-wrap:wrap;
}

.playtexContainer > div, .hydroContainer > div{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  flex-wrap:wrap;
 }



/*

 .row:nth-of-type(5) > div > img{
	margin: 0 -75px;

 }
 */


.description {
  width:535px;
  margin-right:100px;
  text-align: center;
}

/*
 .row > .test-img {
	z-index:10;
 	object-fit:none;

 	grid-row:span 2;

 }
 */


.carousel-cell {
  min-width: 65%;
  /* flex-box, center image in cell */
  display: -webkit-box;
  display: -webkit-flex;
  display:         flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.carousel-cell img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  /* dim unselected */
  -webkit-transform: scale(0.85);
  transform: scale(0.85);
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
  transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}
.carousel-cell.is-selected img {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-filter: none;
  filter: none;
}

.carousel {
  display: none;
}



button{
  display: flex;
  width: 200px;
  height: 40px;
  line-height: 10px;
  font-size: 10px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  text-decoration: none;
  color: #fff;
  border: 2px solid #fff;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
  transition: all .35s;
  background: transparent;
  justify-content: center;
  align-items: center;
}

.button > a{
  text-decoration: none;
}

button:after{
  position: absolute;
  content:"";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: all .35s;
}

button:hover:after{
  width: 100%;
}

button:hover{
  color: #098785;
}

button span{
  position: relative;
  display:block;
  z-index: 2;
}

.button{ }

/* index classes */
.buttons{
  display:flex;
  justify-content:center;
  padding-top:20px;
}

/*.container{*/
/*  display: flex;*/
/*  flex-direction:column;*/
/*  align-items: center;*/
/*  text-align:center;*/
/*  min-height:100vh;*/
/*}*/


/*.logoItem:nth-child(9n-3), .logoItem:nth-child(9n-2), .logoItem:nth-child(9n-1), .logoItem:nth-child(9n) {*/
/*  width: 24%;*/
/*}*/

.inputGroup {
  display: flex;
  flex: 1 1 0px;
  align-content: flex-start;
  flex-direction: column;
  margin:5px;
}

.inputRow{
  display:flex;
  flex: 1 1 0px;
  justify-content: space-between;

}

.backToWork{
  min-height:150px;
}

.backToWork > a {
  text-decoration: none;
  color: #0f0f0f;
}

@media (max-width: 1200px)
{
  .description{
    margin-right:5px;
    width:450px;
  }
  .logoContainer{
    width:80%;
  }
}
@media (max-width: 1024px)
{

  .nav{

  }
  .container{
    flex-wrap:nowrap;
  }

  .aboutRow:nth-of-type(1){
    flex-direction: column-reverse;
  }

  .description {
    text-align:center;
    margin:0;
  }

  .aboutRow:nth-of-type(1) > div > img{
    min-width:90%;
    margin: 20px 0;
    height: auto;
  }

  .aboutRow:nth-of-type(2){
    padding:50px 0 50px 0;

  }

  .logoItem {
    width: 32%;
  }

  .logoContainer {
    width:95%;
  }

  .logoItem:nth-child(7n-2){
    margin-left:0%;
  }

  .logoItem:nth-child(7n) {
    margin-right:0%;
  }

  .logoItem:nth-child(5n-1){
    margin-left:16%;
  }

  .logoItem:nth-child(5n) {
    margin-right:16%;
  }
  .aboutRow:nth-of-type(2) > div > img {
    display:none;
  }

  .slider{
    display:flex;
    justify-content:center;
    align-items:center;
  }

  .carousel {
    display: block;
  }


}

@media (max-width: 700px)
{
  .nav {
    height:65px;
  }
  .navbar{
    padding-right:0;
    margin-right:5%;
  }
  #oc_logo{
    padding-left:0;
    margin-left: 5%;
  }
  #oc_logo img {
    max-height:40px
  }
  .container{
    flex-wrap:nowrap;
  }

  .row{
    flex-wrap:nowrap;
  }

  .description {
    text-align:center;
    margin:0;
    max-width:90%;
  }

  .aboutRow:nth-of-type(1) > div > img{
    max-width:90%;
    margin: 20px 5%;
    height: auto;
  }

  .aboutRow:nth-of-type(2){
    padding:50px 0 50px 0;

  }

  .logoItem {
    width: 32%;
    min-height:70px;
  }
  .logoItem > div > img{
    max-width:100px;
  }

  .aboutRow:nth-of-type(1){
    padding-top:100px;
    margin-bottom:50px;
   }
  .aboutRow:nth-of-type(2) {
    margin-bottom:15px;
  }
  .inputRow{
    display:block;
  }

  .inputGroup {
    font-size: 20px;
  }

  .contactInput{
    height:45px;
    line-height:45px;
    padding-left:10px;
  }
  #message{
    padding: 10px 0 0 10px;
  }
  .logoContainer{
    padding-top:20px;
  }

  .workRow{
    min-height:120px;
  }
}
.dropShadow {
  box-shadow: 1.15px 0.4px 12px 4px rgba(55, 57, 64, 0.3);
}



