/* LAYOUT */
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
body{
    background-color: #F5F5F6;
    font-size: 1.5em;
    padding: 30px;
    color: #000;
    font-family: 'Source Sans Pro', sans-serif;
    /* font-family: 'Exo 2', sans-serif; */
}

body{
    overflow-x: hidden !important;
    overflow-y: auto;
}

.wrap{
  overflow: hidden;
}

a, button, .myelements
{
    -ms-touch-action: manipulation; /* IE10  */
    touch-action: manipulation;     /* IE11+ */
}

.item img.photo {
    display: none !important;
}

.item.active img.photo {
    display: block !important;
}


.logo{
    margin-bottom: 30px;
}

table tr {
    vertical-align: top;
}

strong {
    color: #2D2C2F;
    font-size: 1.1em;
}

.single-portfolio .main-content {
    margin-top: 30px;
}

.portfolio-body {
    margin-top: 30px;
}

.table.borderless td {
    border: none;
}

h1, h2, h3, h4, h5, .listing-item .title {
    font-size: 15px;
    color: #2D2C2F;
    margin: 0px 0px 5px;
}

h1 {
  margin-top: 8px;
}

ul{
    list-style: none;
    padding-left: 0px;
}

/* LINK */
a {
    color: #9a9a9a;
}

.content {
    margin: 0px;
}

/* MAIN MENU */
.menu{
    margin-bottom: 0px;
    list-style: none;
    padding-left: 0px;
}

.menu li{
    vertical-align: top;
    width: auto;
}

.menu li.parent-link{
    width: 110px;
}

.menu a {
    overflow: hidden;
    margin: 0 15px;
    font-size: 12px;
    line-height: 18px;
    margin-left: 0px;
}

.menu li.active a, .menu a:hover, a:hover, a.active {
    color: #2D2C2F;
    text-decoration: none;
}

.social {
  z-index: 9;
  margin-top: -6px;
}

.social-hub{
    padding: 0.3em 0px;
}

.social-hub .fa{
    font-size: 1.4em;
    color: #2D2C2F;
    z-index: 100;
}

.search-form{
    width: 0px;
    visibility: hidden;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

    -webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.search-form.visible{
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition:         width 400ms ease, background 400ms ease;
    width: 200px;
    visibility: initial;
}


/* GALLERY */
.thumb-list-wrapper{
    overflow: hidden;
    margin-top: 0px;
}

.thumb-list{
    white-space: nowrap;
}

.thumb-list li{
    padding-left: 0px;
    padding-right: 0px;
    vertical-align: top;
    cursor: pointer;
}

.thumb-list li img{
    border-top: 3px solid transparent;
    padding-top: 1px;
    background-color: #d9d9d9;
}

.thumb-list li img.active{
    border-top: 3px solid #2D2C2F;
}

.thumb-list li:hover img{
    border-top: 3px solid #888;
}

img.photo {
  width: auto;
  height: auto;
}

.portfolio-helper{
  position: absolute;
  width: 100%;
  padding: 30px 20px;
  margin-left: -20px;
  bottom: -24px;
}

.portfolio-helper strong, .portfolio-helper a{
    font-weight: normal;
    color: #2D2C2F;
}

.carousel.fade {
    opacity: 1;
}
.carousel.fade .item {
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    left: 0 !important;
    opacity: 0;
    top:0;
    position:absolute;
    width: 100%;
    display:block !important;
    z-index:1;
}
.carousel.fade .item:first-child {
    top:auto;
    position:relative;
}
.carousel.fade .item.active {
    opacity: 1;
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    z-index:2;
}
/* Archive */
.thumbnail-list li{
    margin: 5px;
    padding: 0px;
    width: 151px;
    height: 112px;
    display: inline-block;
    background-color: #9d9d9d;
    overflow: hidden;
}

.thumbnail-list li img{
    width: 151px;
}

/* Bootstrap */
.btn-default{
    background-color: #909090;
    color: #2D2C2F;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 1px;
    border: none;
}

.wysija-input {
    border-radius: 7px;
    border: none;
    padding: 6px;
    margin-top: 10px;
}

.wysija-submit {
    border-radius: 4px;
    border: none;
    color: #FFF;
    padding: 8px 30px;
}

.formErrorContent {
    border: none;
    border-radius: 5px;
    margin-left: 5px;
    margin-top: 5px;
    font-family: "Helvetica neue" !important;
    font-size: 12px !important;
    background-color: #891E1E !important;
}

/* HOME */
.main-image{
    max-width: 600px;
    margin-bottom: 20px;
}

/* NEWS */

.listing-item .date, time {
    font-size: 10px;
}

.alignright {
    float: right;
    margin-left: 10px;
}

.alignleft {
    float: left;
    margin-right: 10px;
}

/* LOADING */
/* Absolute Center CSS Spinner */
.overlay{
    position: fixed;
    z-index: 100;
    background-color: #2D2C2F;
    width: 100%;
    height: 100%;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading {
    position: relative;
    height: 2em;
    width: 2em;
    padding: 30px 30px;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 3000ms infinite linear;
    -moz-animation: spinner 3000ms infinite linear;
    -ms-animation: spinner 3000ms infinite linear;
    -o-animation: spinner 3000ms infinite linear;
    animation: spinner 3000ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: #A8A8A8 1.5em 0 0 0, #A8A8A8 1.1em 1.1em 0 0, #A8A8A8 0 1.5em 0 0, #A8A8A8 -1.1em 1.1em 0 0, #A8A8A8 -1.5em 0 0 0, #A8A8A8 -1.1em -1.1em 0 0, #A8A8A8 0 -1.5em 0 0, #A8A8A8 1.1em -1.1em 0 0;
    box-shadow: #A8A8A8 1.5em 0 0 0, #A8A8A8 1.1em 1.1em 0 0, #A8A8A8 0 1.5em 0 0, #A8A8A8 -1.1em 1.1em 0 0, #A8A8A8 -1.5em 0 0 0, #A8A8A8 -1.1em -1.1em 0 0, #A8A8A8 0 -1.5em 0 0, #A8A8A8 1.1em -1.1em 0 0;
}

ul.sub-menu {
  display: none;
}

.sub-menu li {
  padding-left: 10px;
}

ul.menu li.active ul.sub-menu {
  display: inline !important;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/* Fine loading */

.play-container {
    position: relative;
    display: inline-block;
}
.play-container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.play-container img {
    z-index: 9;
    text-align: center;
}

.play-container .play-button {
  background: url('../img/play-button.png') center center no-repeat;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  
  opacity: 0;
  filter: alpha(opacity=0); /* For IE8 and earlier */
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.hover {
  opacity: 0.3;
  filter: alpha(opacity=30); /* For IE8 and earlier */  
}

.hover.active {
  opacity: 1;
  filter: alpha(opacity=100); /* For IE8 and earlier */  
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 
}

.play-container .play-button.play-button-mini {
  background: url('../img/play-button-mini.png') center center no-repeat;
  left: 23px;
}
.play-container:hover .play-button{
  opacity: 1;
  filter: alpha(opacity=100); /* For IE8 and earlier */  
  background-color: rgba(255,255,255, 0.4);
}

.carousel-indicators { 
  display: block;
  position: relative;
  top: -60px;
}

.carousel-inner h3{
  font-size: 1.2em;
  margin-top: 3px;
}

.carousel-indicators li {
  background-color: #262626;
  border-color: #262626;
}

.archive-article h1{
  margin-top: 15px;
  margin-bottom: 2px;
}

.archive-article h1 a {
  color: #262626;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
}

.archive-article p {
  color: #C0BFBF;
  text-transform: uppercase;
  font-size: 0.9em;
  min-height: 100px;
  padding: 0px 40px;
  text-align: center;
}

.archive-article: hover p {
  color: #262626;
}

.archive-article hr {
  margin: 0px 20%;
  border-color: #CDCDCD;
}

.no-space {
  padding: 0px 0px;
}

.logo .title {
  text-transform: uppercase;
}

.logo .description {
  font-size: 0.75em; 
}


h2.no-span {
  display: table;
  white-space: nowrap;
}

h2.no-span:before,
h2.no-span:after {
  border-top: 1px solid #262626;
  content: '';
  display: table-cell;
  position: relative;
  top: 0.5em;
  width: 45%;
}
h2.no-span:before {
  right: 1.5%;
}
h2.no-span:after {
  left: 1.5%;
}


/* MEDIA */
/* Small devices (tablets, 768px and up) */
@media (max-width: 768px) {
    h2.no-span:before,
    h2.no-span:after {
      border: none;
    }

    .no-space {
      min-height: 0px;
    }

    .portfolio-helper {
      position: relative;
    }
    .thumbnail-list li {
        width: 100%;
        height: auto;
    }

    .thumbnail-list li img {
        width: 100%;
    }

    a.fullscreen{
        display: none;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .main-image{
        max-width: 100%;
    }

    .main-content {
        margin-top: 10px;
        border-top: 1px solid #E2E2E2;
        padding-top: 6px;
    }

    body {
       padding: 10px;
    }

    .single-portfolio .social{
        display: none;
    }

}

/* Large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {}