﻿/*For both ExperienceSub and ExperiencePost*/

.grid li a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.back2Menu, a.back2Menu:visited{
    padding: 5px 0;
    float: right;
}
a.back2Menu:active, a.back2Menu:hover {
    color: rgb(128,0,0);
}

.grid a span:not(.span_a) {
        width: 96%;
        background-color: rgba(0, 0, 255, 0.7);
        position: absolute !important;
        bottom: 3%;
        color: white;
        padding: 0.5em;
        box-sizing: border-box;
        text-align: left;
        left: -10px;
    }

    .hvr-float a:hover ~ span {
        transform: translate3d(0, 0, 0);
        transition: ease-in .2s all;
    }

    span:hover {
         background-color: rgba(128, 0, 0, .9);
        transform: translate3d(0, 0, 0);
        transition: ease-in .2s all;
    }

.grid img {
    width: 100%;
    height: auto;
}
.imageGrid{
     width: 100%;
    height: 100%;
    overflow:hidden;
}
.grid {
    color: white;
    display: inline-block;
    margin: .5%;
    width: 25%;
    position: relative;
}
/*End of both pages css*/

/* Loading page css */
#page-preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 100500;
}

    #page-preloader .spinner {
        width: 100%;
        height: 100%;
        position: absolute;
        background: url('../../img/SS_SITE_LOGO_transparent.png') no-repeat;
        background-position: center;
        background-size: 30%;
        animation: opacityPulse 2.5s ease-out;
        animation-iteration-count: infinite;
        opacity: 1;
    }


      /*hvr-float:hover ~ a span:not(.span_a)*/
      .grid:hover a span:not(.span_a){
          background-color: rgba(128, 0, 0, .8);
      }
@-webkit-keyframes opacityPulse {
    0% {
        opacity: 0.0;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        opacity: 0.0;
    }
}
/* END LOADING PAGE*/

/*Start of EXPERIENCE PAGE*/

#expList{
    margin-top:3em;
}

.projects {
    position: relative;
    overflow: auto;
    width: 100%;
    margin: 0 auto;
}

    .projects ul {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
.projects ul li.grid {
    margin: 1% 2%;
    width: 100%;
    /*height: 23.5vh;*/
}

#under {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    margin-top: .5%;
    text-align: center;

}
#under img {
     opacity: 0;
     max-width: 100%;
     max-height: 100px;
 }
/*.scroll {
    background: linear-gradient( transparent, rgba(255,255,255,0.3) 4%, rgba(255,255,255,0.5) 7%, rgba(255,255,255, 0.8) 84%);
}*/

/*END OF EXPERIENCE PAGE*/

/*Start of EXPERIENCEPOST pages*/

.expPostPage {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    background:linear-gradient( 
            transparent,
             rgba(255,255,255,0.5) 4%,
            rgba(255,255,255,0.8) 7%,
              rgba(255,255,255, 1) 12%);
}
.col-xs-1 {
    padding: 0;
    width: 3%;
}
.col-xs-10 {
    width: 94%;
}
.row{margin: 0;
    width: 100%;
}

#infoDivide > div{
    padding: 0;
}

#next_Arrow, #prev_Arrow {
    top: 160px;
}

#prev_Arrow img {
    float:right
}
#prev_Arrow img, #next_Arrow img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.ExperiencePostContent {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    padding: 3% 5% 0% 5%;
}
.videoForContent {
    margin-top: 1%;
    position: relative;
}
.videoForContent .vids iframe {
    display: none;
}

iframe {
    width: 70%;
    min-height: 350px;
    margin: 0 auto 1em;
    padding: 1em 0;
}

h4 {
    color: #666666;
    font-family:Malgun Gothic;
    font-size: 22px;
    font-weight: normal;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

#infoDivide > p {
    font-weight: bold;
    margin: 0 0 5px;
    font-family: 'Calibri Light';
    font-size: 1em;
}
p.postContent {
    font-family: 'Calibri Light';
    margin: 0;
}
.postContent br {
    margin-top: 3em;
}

#sideImg, .sideImgDiv{
    width: 100%;
}

h4#expPost {
    font-weight: bold;
    margin: 0 0 10px;
    color: rgb(15, 82, 204);
}

h4#subExpPost{
    font-weight: bold;
    margin: 0 0 10px;
    color: rgb(128, 0, 0);
    font-size: 20px;
}

h3#expPost{
      font-weight: bold;
    color: rgb(15, 82, 204);
      font-family:Malgun Gothic;
      margin: 25px 0;
      font-size: 28px;
}

#sideInfo {
    background-color: rgb(222, 235, 247);
    padding: 0 0.5em;
}

#backToList {
    display: none;
}

#infoDivide {
     border-bottom: solid 1px #800000;
     margin-top: 6px;
     padding: 0 5px;
}

#sideInfo div:last-child > #infoDivide {
    border: none;
} 

.sideInfoNames{
    text-transform: uppercase;
    font-weight: 100;
    font-size: 0.9em;
    font-family: 'Calibri Light';
    margin-bottom: 0;
}

.span_a {
    background-color: rgba(15, 82, 204, .8);
    padding: 5px 0;
    position: sticky;
    bottom:10%;
    color: white;
    text-align: center;
    width: 100%;
}

img#imageHolder {
    width: 100%;
    display: inline-block;
    /*bottom: 0px;
    position: absolute;*/
}

.AddBoxShadow{
    box-shadow: 6px 4px 10px 0px rgba(0, 0, 0, 0.3);
    display: block;
    overflow: hidden;
}

.energyCorner:before{
    content: '';
        display:block;
        float:left;
        height:106px;
}
.energyCorner img{
    float:left;
    clear:both;
    margin: 0px  10px 0 0;
    box-shadow: 6px 4px 10px 0px rgba(0, 0, 0, 0.3)
}

#ForFirst {
    width: 55%;
    height: 44vh;
    overflow: hidden;
    float: left;
}

#ForSecond {
    width: 44%;
    display: inline-block;
    bottom: 0px;
    height: 44vh;
    float: right;
    overflow: hidden;
}

#ForSecond > a > img, #ForFirst > a> img {
    height: 44vh;
}

#MoreThanTwo {
    width: auto;
    position: relative;
    display: block;
    overflow: hidden;
    float: left;
    margin: 0 10px 14px;
}

#bottomDiv {
    width: 70%;
    height: 23vh;
    position: relative;
    display: block;
    float: left;
    margin: 0 10px 10px;
    overflow: hidden;
}

#sideDiv {
    height: 50vh;
    width: 23%;
    position: relative;
    display: block;
    overflow: hidden;
    /*box-shadow: 6px 4px 10px 0px rgba(0, 0, 0, 0.3);*/
    float: right;
    margin: 0 5px 10px;
}


#sideDiv > a > img {
    height: 50vh;
}
#MoreThanTwo > a > img {
    height: 26vh;
}

#bottomDiv > a> img {
   
    width: 100%;
}

.postImg  {
    max-height: 50vh;
    height: auto;
    overflow: hidden;
    position: relative;
}

#ContentInfo {
    margin-top: 2em;
}

#noCarousel {
    text-align: center;
    width: 100%;
}
.bottom_slider {
    display: none;
    height: 30vh;
    color: white;
    display: inline; /*iuse to be inline-block*/
    text-align: center;
    transition: all .5s ease;
}

.bottom_slider .grid {
    position: relative;
    height: 25vh;
    width: 440px;
}
.bottom_slider .grid img {
    min-height: 25vh;
    height: auto;
}


/***** Grid Image *********/
.gridImage{
    display: inline-block;
    position: relative;
    z-index: 999;
    box-sizing: border-box;
    margin:1%;
    width:30%;
}

.gridImage img {
	display:block;
    box-shadow: 6px 12px 12px 0 rgba(16, 16, 16, 0.6);
	overflow: auto;
    margin: 0 auto;
    /*height: auto;*/
    z-index: 3;
}

.textbox{
	opacity: 1;
	color: white;
    width: 100%;
    margin: 0 auto;
	position: absolute;
	bottom: 10%;
    background-color: rgba(23,56,157,.9);
    line-height: normal;
    padding: 8px;
    z-index:4;
}

.textbox > span{ font-size: 1em; }

.imageHolder {
    width: 18vw;
    height: 26vh;
    max-height: 300px;
}

    /*#gridImage img:hover*/
.gridImage img:hover {
    opacity: .9;
    z-index: 3;
  -webkit-transition: .3s ease-in-out;
    transition: ease-in .3s all;
    /*transition: .3s ease-in-out;*/
  -ms-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -webkit-transform: scale(1.02);
  -o-transform: scale(1.02);
  transform: scale(1.02);	

  -webkit-filter: grayscale(.2);
  -moz-filter: grayscale(.2);
  -ms-filter: grayscale(.2);
  -o-filter: grayscale(.2);
    filter: grayscale(.2);
    filter: url(grayscale.svg); /* Firefox 4+ */
  filter: gray; /* IE 6-9 */
}

.gridImage img:hover ~ .textbox {
    background-color: rgba(128, 0, 0, .9);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-transition: .2s ease-in-out;
    transition: ease-in .2s all;
}

/***** Scroll up arrow CSS *********/

.arrow {
    color: white;
    line-height: 80% !important;
    border: none;
    display: block !important;
    width: 100%;
    height: 100%;
}

.back2Top {
    border-radius: 2px;
    opacity: .7;
    text-align: center;
    background-color: #4A75BF;
    z-index: 99;
    right: 3%;
    position: fixed;
    bottom: 5%;
    height: 50px;
    width: 50px;
    display: block;
}

.back2Top:hover {
    text-decoration: none;
    background-color: RoyalBlue;
    opacity: .99;
    transition: ease-in .3s;
}
/***********End Scroll up arrow css****************/

/*mobile*/
@media only screen and (max-width:600px) {
    h4 {
        font-size: 16px;
        line-height: 19px;
    }

    #expPost{  text-align: center; }

    .postImg img {
        max-width: 93vw;
        max-height: 270px;
    }

    #backToList {
        display: block;
        float: right;
        padding-right: 5px;
    }

    li#gridImage {
        width: 100vw;
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .projects ul li.grid{
        margin: 2% auto;
    }

    .projects ul{
        width: 90%;
        margin: 0 auto;
    }

    #ContentInfo {
        margin-top:1em;
    }

    #expList {
        margin-top: 1em;
    }
    
    #sideInfo{ width: 100%; }
}

/*tablet*/
@media screen and (min-width: 600px) and (max-width: 768px) { 
    .projects ul li.grid { width: 45%; }

    h4 {
        font-size: 18px;
        line-height: 22px;
    }

    .expPostContent img {
        max-width: 560px;
        max-height: 300px;
    }

    li#gridImage {   width: 41vw; }

    #imageHolder {  -webkit-filter: brightness(100%);}

    .projects {
        margin: 0 auto;
        width: 95%;
    }

    #bottomDiv{ width: 72%;}

    /*Home/Experience*/
    #expList .postImg img
    {
        max-width: 100%;
        max-height: 300px;
    }
}

@media screen and (min-width:768px) {
    .projects ul li.grid { width: 45%; }
     #bottomDiv{
        width: 73%;
    }
      #MoreThanTwo {
        width: 35%;
    }
}

@media screen and (min-width:992px) {
    .expPostPage { width: 76%;}
}
@media screen and (min-width: 1200px) {
    .projects ul li.grid { width: 28%; }
    .grid img { width: 100%;}
    #ForSecond > a> img, #ForFirst > a> img, #MoreThanTwo > a> img {
        width: 100%
    }
}


@media screen and (min-width: 1536px) {
    .expPostPage{   width: 64%; }

}
@media screen and (min-width: 1919px) {
    /*#infoDivide > p { font-size: 1em;}*/
    .projects ul li.grid { width: 29%;}
    #MoreThanTwo {  width: 36%;}
    #bottomDiv{width: 74%;}
    p.postContent{  font-size: 21px; }
    
}

@media screen and (min-width: 2065px){
    .grid img { width: 100%;}
    .expPostPage { width: 50%; }
}

/** HEIGHT RESPONSIVE **/
@media screen and (max-height: 680px) {
   .grid img {
        width: 100%;
        height: initial;
   }
   .postImg{ height: auto; }
   #expList{ margin-top:1em; }
   #MoreThanTwo > a >img{ height: 42vh;}
   #bottomDiv { height: 43vh; }
   #sideDiv, #sideDiv > a >img{ height: 87vh;}
}

@media screen and (min-height:680px) {
   #MoreThanTwo > a >img{ height: 34vh; }
   #bottomDiv { height: 26vh;}
   #sideDiv, #sideDiv > a > img{ height: 62vh;}
}
 @media screen and (min-height: 724px) {
   #ContentInfo {  margin-top: 1em;} 
 }
@media screen and (min-height: 810px) {
   #MoreThanTwo > a > img{ height: 26vh; }
   #bottomDiv { height: 23vh; }
   #sideDiv, #sideDiv > a> img{ height: 50vh; }
}

 @media screen and (min-height: 1300px) {
 }