.title {
  font-size: calc(1.525rem + 3.0vw);
  font-family:'Montserrat', sans-serif;
  font-weight: 700;
}

/* Stop user selection */
.title, #stand, #footer-text, .grid-item, .detailFrame, .btn, #theButton {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

@media (min-width: 1200px) {
  .title {
    font-size: 4rem;
  }
}

body{
	/*background-color: red!important;*/
}

body.loading {
    overflow: hidden;
}

/* Hide footer until page is loaded */
#footer{
  opacity: 0;
}

/* Hide grid until page is loaded */
.grid{
  opacity:0;
}



/* ------------------------ GRID NEW ------------------------ */
@media screen {

  /*Small devices (landscape phones, 576px and up)*/
  @media (min-width: 0px) {

    .grid {
      margin-left:10px;
      margin-right:10px;
    }
    .grid-item {
      margin-bottom:10px;
    }
    .grid-sizer, .grid-item {
      width:calc(50% - 5px);
    }

  }

  /*Medium devices (tablets, 768px and up)*/
  @media (min-width: 500px) {

    /*@media (orientation: portrait) {*/
      .grid {
        margin-left:40px;
        margin-right:40px;
      }
      .grid-item {
        margin-bottom:40px;
        padding-left:0px;
        padding-right:0px;
        margin-left:0px;
        margin-right:0px;
      }
      .grid-sizer, .grid-item {
        width: calc(50% - 20px);
      }

    /*}*/

  }

  /*Large... devices (tablets, 768px and up)*/
  @media (min-width: 630px) {
    
  }

  /*Large devices*/
  @media (min-width: 700px) {
    .grid-sizer, .grid-item {
      width: calc(33.33% - 26.5px);
    }
     .iframeVideo_L {
      /*height:150px;*/
    }
  }

  /*X-Large devices (large desktops, 1200px and up)*/
  @media (min-width: 900px) {
    .grid-sizer, .grid-item {
      width: calc(25% - 30px);
    }
  }

  /*X-X-Large devices (extra-large desktops, 1600px and up)*/
  @media (min-width: 1300px) {
    .grid-sizer, .grid-item {
      width: calc(20% - 32px);
    }
  }

  @media (min-width: 1590px) {
    .grid{
      margin-left:auto;
      margin-right:auto;
    }
  }

}


.grid {
  max-width: 1520px;
}

.grid img{
  width:100%;
  height:100%;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-item {
  float: left;
  overflow:hidden;
  }

/* Border for all grid items except .reel (videos) */
.grid-item.paintingsSingle, .grid-item.paintingsBeforeAfter, .grid-item.concepts, .grid-item.credits {
  /*border: 0.25px solid gray;*/
}

.grid-item:hover {
  cursor: pointer;
}


/* -----------GALLERY MODAL-----------*/
.modal-backdrop{
  position:fixed;
  top:0;
  left:0;
  z-index:1040;
  width:100vw;
  height:100vh;
  /*background-color:#000*/
  background-color:white;
}

.modal-backdrop.fade{
  opacity:0
}

.modal-backdrop.show{
  /*opacity:.5*/
  opacity:.97
}

.detailFrame{
  border:0.25px solid gray;
}


/*------------------------------------*/

/* BUTTON STYLES */
.btn-check:focus+.btn-dark, .btn-dark:focus {
  box-shadow: none;
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
  opacity: 1!important;
}


/*DROPDOWN BUTTON STYLES*/
.dropdown-item.active, .dropdown-item:active{
  background-color:transparent;
  color: #212529;
}
.dropdown-item:focus, .dropdown-item:hover{
  outline:none;
}


/*FOOTER STUFF*/
/* Contains all content inc footer */
#page-container {
  position: relative;
  min-height: 100vh;
}
/* Main content container */
#content-wrap {
  padding-bottom: 2.5rem;    /* To match footer height */
}
/*Footer*/
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;            /* Footer height */
}


/* GRID TRANSITIONS FOR BERFORE / AFTER PICS */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

/* DROPDOWN BUTTON TEXT */
.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


/* MODAL OVERLAY STUFF*/
.paintingsBeforeAfter:hover .overlay {
  opacity: 1;
}

.modalOverlay{
  transition: .5s ease;
}

.detailFrame:hover .modalOverlay{
  opacity: 0;
}
