/* template overrides */
#main, #main .page-content {
    background-color: white;
    width: 100%;
}

.gray-container {
    background-color: #ffffff;

}

#hworks-loading {
    position: relative;
    height: 50px;
    
}

#hworks-loading img {
   position: absolute;
    height: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    clear: both;
}

#hworks-animation-container {
    font-family: 'Myriad Pro Condensed';
    /*    min-height: 800px;*/
    clear: both;
    text-transform: uppercase;
}

#hworks-container {
    position: relative;
    height: 100%;
    clear: both;
}


#h-whole {

}

#hworks-container #h-whole, #hworks-container .h-container{
    position: absolute;
}

.h-container {
    /*    border: 1px solid black;*/
    font-size: 1vw;
    position: relative;
}

.h-bait {
    height: 60%;
    display: block;
}

.h-container .h-name {
    font-weight: bold;
    font-size: 1.7vw; 
    float: left;
/*    padding: 0 5%;*/
   
}

.h-name {
    width: 26%;
}

.h-desc {
    width: 70%;
}

.h-name, .h-desc {
    position: relative;
    height: 100%;
    
    float: left;
    text-align: justify;
}

.h-name span, .h-desc span {
  position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 100%;
}

.h-name span {
   text-align: center; 
}

.h-problems {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    z-index: 9999999;
/*    border: 1px solid red;*/
}

.h-problems-inner {
    position: relative;
}

.h-problems-inner table {
    position: absolute;
    top: 0;
/*    border: 1px solid black;*/
}

.h-problems-inner table td {
    padding: 2%;
    text-align: center;
    vertical-align: middle;
}

.h-problems-inner img {
    width: 100%;
    height: 100%;
}

.h-container .h-desc {
/*    width: 61%;
    float: left;
    text-align: justify;
    height: 100%;*/
/*    margin: auto;*/


}

.h-beeup-something {
    text-align: center;
    font-weight: bold;
    font-size: 1.5vw;
}

.h-beeup-something span {
    font-weight: normal;
}

.h-problems td {
    font-size: 1vw;
    height: 50%;
}

#h-your-problems td, #h-stan-problems td {
    width: 25%;

}

#h-kathy-problems td {
    width: 33%;
}


.h-problems td {
    color: #000000;
}

#h-stan .h-bait, #h-kathy .h-bait {
    height: 65%;
}

.h-p-name {
    font-size: 1vw;
    font-weight: bold;
}

.h-problems td.h-gray {
    color: #ffffff;
}

.fade-image {
    z-index: 10000;
    position: absolute;
    top: -0.4%;
    left:0;
    opacity: 0.8;
    display: none;
    width: 100%;
    height: 100%;

    /*    background-image: url(static/pages/img/stan_mask.png);
        position: absolute;
        top:0;
        left:0;*/
}