/*
Theme Name: GridScapes
Author: Sergio De Simone
Author URI: http://labs.freescapes.org/
Description: A WP theme for grid-based pages
Version: 1.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gridscapes
*/

@media only screen and (max-width: 767px) {
    #is-mobile-detect { display: none; }
}

@media only screen and (min-width: 768px) {
    #accessmob {
        display: none;
    }
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.sf-menu, .sf-menu > li {
    float: none;
}

/* ul.menu-strip {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    padding-top: calc(1.25 / 100 * var(--vwmax));
    background-color: rgba(0,0,0,0);
}

ul.menu-strip li  {
    list-style: none;
    position: static;
    background-color: rgba(0,0,0,0);
    height: 100%;
}

ul.menu-strip li a {
    letter-spacing: calc(0.05 / 100 * var(--vwmax));
    font-weight: 400;
    font-family: var(--menu-font);
    border: 0;
    color: var(--theme-color);
    font-size: calc(0.66 * var(--font-size));
    margin-left: calc(1.0 / 100 * var(--vwmax));
    margin-right: calc(1.0 / 100 * var(--vwmax));
    margin-bottom: calc(1.75 / 100 * var(--vwmax));
    padding: 0px;
}

ul.menu-strip > li > a {
    top: calc(0.7 / 100 * var(--vwmax));
} */

.img-fluid {
    max-width: 100%;
    height: auto;
}

body {
    color: black;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
}

.shifted {
    position: relative;
}

p:first-child {
    margin-top: 0;
}

#menu-more-items {
    padding: 0;
}

container.main > .row-0,
container.main > .row-1,
container.main > .row-2 {
    position: relative;
}

container.main > .row-0 {
    z-index: 10000;
}

container.main > .row-0 > .col {
    padding: 0;
}

.strip-item-container .strip-icon {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    height: 100px;
}

.image-wrapper {
    width: 100%;
    height: 100%;
}

.image-wrapper .image {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

textarea {
    font-family: inherit;
    border: 0;
    width: 100%;
}

textarea:focus, input:focus{
    outline: none;
}

.clickable-div {
    cursor: pointer;
}

.screen-reader-response,
.wpcf7-response-output wpcf7-validation-errors {
    display: none;
}

.wpcf7-not-valid-tip {
    position: absolute;
    right: calc(1.5 / 100 * var(--vwmax));
    bottom: 0;
    color: red;
    font-size: calc(0.5 * var(--font-size));
}

.wpcf7-response-output {
    position: relative;
    bottom: calc(1.5 / 100 * var(--vwmax));
    color: red;
    font-size: calc(0.5 * var(--font-size));
    text-align: center;
}

.wpcf7-form-control-wrap {
    display: inline-block;
}

form.post-password-form {
    width: 40vw;
    height: 25vh;
    margin-left: 30vw;
    margin-top: 30vh;
}

/* 100% Height Sidebar */
/*
container {

    display: -ms-flexbox;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: box;
  
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -ms-box-orient: horizontal;
    box-orient: horizontal;
}

main {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-box-flex: 1;
    box-flex: 1;  
}

sidebar.left {
    -ms-flex: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -ms-box-flex: 0;
    box-flex: 0;
}

sidebar.right {
    -ms-flex: 2;
    -webkit-box-flex: 2;
    -moz-box-flex: 2;
    -ms-box-flex: 2;
    box-flex: 2;
}
*/

.col, .row {
    padding: 0;
    padding: 0;
    margin: 0;
    margin: 0;
}
 
sidebar div.sidebar-content {
    position:relative;
    padding-top: 10px;
    width: 40px;
    background-color: #76222B;
    height: 100%;
}

sidebar.right div.sidebar-content {
    float:right;
}

sidebar.left div.sidebar-content {
    float:left;
}

/* End 100% Height Sidebar */

main {
    background-color: black;
}

/*
.sidebar-content {
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
}
*/
.rotate-left div {
    writing-mode: tb-rl;
    text-orientation: mixed;
    -webkit-transform: translate(25%, 0%);
    -moz-transform: translate(25%, 0%);
    -ms-transform: translate(25%, 0%);
    -o-transform: translate(25%, 0%);
}

.rotate-right div {
    writing-mode: tb-rl;
    text-orientation: mixed;
    -webkit-transform: translate(25%, 0%) rotate(180deg);
    -moz-transform: translate(25%, 0%) rotate(180deg);
    -ms-transform: translate(25%, 0%) rotate(180deg);
    -o-transform: translate(25%, 0%) rotate(180deg);
}

header, footer {
    width: 100%;
    margin: 0;
    padding: 0;
}

nav {
    position: relative;
}

nav li {
    line-height: 1.0;
    display:inline;
}

.title-color-alternate-theme-color {
    color: var(--alternate-theme-color);
}

.title-color-theme-color {
    color: var(--theme-color);
}

article {
    position: relative;
    top: -50px;
    box-sizing: border-box;
    left:0px;
    top:0px;
    max-height: inherit;
}

.social-strip div {
    display: inline-block;
}

.card {
    position: static;
}

.card-block {
    position: relative;
}

.card-title {
    position: relative;
    /* padding-top: 5%; */
    padding-left: 5%;
    padding-right: 5%;
    margin-bottom: 0;
    height: auto%;
}

.card-title h1 {
    font-size: 2.2vw;
    margin-left: 1.5vw;
    margin-right: 1.5vw;
    color: #333;
    vertical-align: middle;
}

.card-text {
    position: relative;
    height: 55%;
}

.card-info {
    position: absolute;
    display: inline-block;
    font-size: 1vw;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0px;
}

.card-bottom-overlay, .card-top-overlay {
    position: absolute;
    display: inline-block;
    height: 12vh;
    width: calc(100% - 12px);
    left: 0px;
    margin-left: 6px;
    margin-right: 6px;
}

.card-bottom-overlay {
    bottom: 0px;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    margin-bottom: 4px;
    background-image: linear-gradient(to bottom, 
                                      rgba(200,110,20,0), 
                                      rgba(200,110,20,0.35));
}

.card-top-overlay {
    top: 0px;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    margin-top: 4px;
    background-image: linear-gradient(to top, 
                                      rgba(255,255,255,0), 
                                      rgba(255,255,255,1));
}

.card-info p {
    margin-bottom: 4%;
}

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

.card-image img {
    margin: auto;
}

article.w-75 {
    width: 100%!important;
}

section.container-fluid {
    padding: 0px;
}

.navigation {
    position: static;
}

.height80 {
    height: 80%;
    max-height: 80%;
}

.pad5 {
    padding-bottom: 5%;
    padding-left: 5%;
    padding-right: 5%;
}

/******************************************/

.view {
    position: static;
    text-align: center;
    -webkit-box-shadow: 1px 1px 2px #e6e6e6;
    -moz-box-shadow: 1px 1px 2px #e6e6e6;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
}

.view img {
    display: block;
}
.view h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0;
}

.view .card-text p {
    display: block;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.2vw;
    color: #000;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-bottom: 20px;
    text-align: center;
}

.view a.more-info {
    position: relative;
    bottom: 5%;
    display: inline-block;
    padding: 5px 7px;
    text-decoration: none;
    border-radius: 1vh 1vh 0 0;
    background: #333;
    color: #fff;
    text-transform: uppercase;
    -webkit-box-shadow: 0 0 1px #000;
    -moz-box-shadow: 0 0 1px #000;
    box-shadow: 0 0 1px #000;
}

.view a.more-info: hover {
    -webkit-box-shadow: 0 0 5px #000;
    -moz-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
}

@media (max-width: 768px) {

    .shifted {
        position: static!important;
    }
}

/*************
Lightbox Responsiveness
***************************/

.lightboxcontainer {
  width:100%;
  text-align:left;
}
.lightboxleft {
  width: 40%;
  float:left;
}
.lightboxright {
  width: 60%;
  float:left;
}
.lightboxright iframe {
  min-height: 390px;
}
.divtext {
  margin: 36px;
}
@media (max-width: 800px) {
  .lightboxleft {
    width: 100%;
  }
  .lightboxright {
    width: 100%;
  }
  .divtext {
    margin: 12px;
  }
}
