﻿/* newspost item styles */
body
{
    color: #666 !important;
}
.postcontainer
{
}
.postcontainer-title
{
    color: #3b5998;
    font-weight: bold;
    font-size: 15px;
    text-transform: capitalize;
}
.singlepost-title
{
    color: #337ab7;
    font-weight: bold;
    font-size: 15px;
    text-transform: capitalize;
    text-decoration: none;
    padding-bottom: 10px;
}
.singlepost-title a
{
    /* color: #2a4887; */
}
.postcontainer-byline
{
    color: DarkGray;
    font-size: 12px;
}
.postcontainer-content
{
    margin-top: 5px;
    padding-bottom: 8px;
}
.postcontainer-commentdivider
{
    border-bottom: 1px solid lightgray;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #222;
    padding-bottom: 5px;
}
.postcontainer-nocommentdivider
{
    margin-top: 5px;
    margin-bottom: 5px;
    color: DarkGray;
    padding-bottom: 5px;
    padding-top: 8px;
    display: none;
}

/* news media items */


.full_width_click
{
    display: block;
}

.news-video-icon
{
    width: 320px;
    height: 240px;
    background: url(../media/vimeoarrow2.png);
    background-size: 100%;
    opacity: 60%;
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
}
.iframe-background
{
    background: url(../media/vimeoarrow2.png);
    background-size: 100%;
    z-index: 999;
}
.news-video-thumb
{
    width: 320px;
    height: 240px;
}

/* expert details page */
.expert-section
{
    padding-top: 20px;
}
.expert-map
{
    overflow: auto;
}
.expert-video-caption
{
    text-align: justify;
    font-weight: bold;
}
.expert-video-thumb
{
    position: relative;
}
.expert-details-pic-thumb
{
    height: 195px;
    margin-top: 15px;
    margin-bottom: 35px;
    overflow: hidden;
}
.expert-video-text
{
    font-size: .9em;
}
.landscape-only
{
    display: none;
}
.portrait-only
{
    display: block;
}



@media screen and (max-width:768px) and (orientation:portrait)
{

    .noipadportrait
    {
        display: none;
    }
    .newspicdiv
    {
     /*   width: 70%; */
        margin-left: auto;
        margin-right: auto;
        max-width:280px;
    }
}

.video-icon
{
    background: transparent url(../images/playbuttonsmall.png);
    position: absolute;
    left: calc((100% - 24px) / 2 );
    top: calc((100% - 24px) / 2 );
    width: 24px;
    height: 24px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    z-index: 10;
    opacity: 1;
}
.video-icon:hover
{
    background: transparent url(../images/playbuttonsmall.png);
    left: calc((100% - 24px) / 2 );
    top: calc((100% - 24px) / 2 );
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 10;
    opacity: .7;
}
/* for vod page */
.vod-expert-heading
{
    margin: 0px;
    font-weight: 700;
    color: DarkGray;
}

@media screen and (min-width:768px)
{

    .videobutton
    {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (min-width:768px) and (max-width:992px)
{
    .expert-details-pic-thumb
    {
        height: 160px;
        margin-top: 15px;
        margin-bottom: 0px !important;
        overflow: hidden;
    }

}

@media screen and (min-width:993px)
{

    .videobutton
    {
        width: 55%;
    }
    .newspicdiv
    {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        max-width: 640px;
    }

    .expert-details-video
    {
        height: 132px;
        min-height: 132px;
        padding-top: 5px;
        padding-bottom: 5px;
        border: 2px none none;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .expert-details-pic-thumb
    {
        height: 160px;
        margin-top: 15px;
        margin-bottom: 0px !important;
        overflow: hidden;
    }
}
@media screen and (min-width:1025px)
{

    .videobutton
    {
        width: 50%;
    }
    .newspicdiv
    {
        width: 55%;
        margin-left: auto;
        margin-right: auto;
        max-width: 640px;
    }
    .expert-details-pic-thumb
    {
        height: 195px;
        margin-top: 15px;
        margin-bottom: 35px;
        overflow: hidden;
    }

}



@media screen and (max-width:767px)
{
    .expert-details-pic-thumb
    {
        height: 120px;
        max-height: 120px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    .video-icon
    {
        background: transparent url(../images/playbuttonsmall.png);
        position: absolute;
        left: calc((100% - 24px) / 2 );
        top: calc((100% - 24px) / 2 );
        width: 24px;
        height: 24px;
        -webkit-transition: all 300ms linear;
        -moz-transition: all 300ms linear;
        -o-transition: all 300ms linear;
        -ms-transition: all 300ms linear;
        z-index: 10;
        opacity: 1;
    }
    .expert-video-text
    {
        max-height: 100px;
        overflow: hidden;
        font-size: .8em;
    }
}
  .smartphone-landscape-only {}





/* fade taken from amazon for "more" situation put inside more div to fade text in previous text div with post, comments etc.*/
.more-fade-out
{
    height: 16px;
    width: 100%;
    position: absolute;
    top: -16px;
    left: 0;
    background: -moz-linear-gradient(top,rgba(255,255,255,0),#fff);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,0)),color-stop(100%,#fff));
    background: -webkit-linear-gradient(top,rgba(255,255,255,0),#fff);
    background: -o-linear-gradient(top,rgba(255,255,255,0),#fff);
    background: -ms-linear-gradient(top,rgba(255,255,255,0),#fff);
    background: linear-gradient(to bottom,rgba(255,255,255,0),#fff);
}

.video-button-overide
{
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.news-video-button-overide
{
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    margin-left: 25%;
}
@media screen and (orientation:landscape) and (max-width:767px)
{
     .newspicdiv
    {
        width: 240px;
        margin-left: auto;
        margin-right: auto;
       
    }
    .expert-details-pic-thumb
    {
        height: 120px;
        max-height: 120px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    .portrait-only
    {
        display: none!important;
    }
    .landscape-only
    {
        display: block;
    }
    .smartphone-landscape-only 
    {
      /*  display:block!important; */
     
        
    }
    .modalButton
    {
        margin: 0 0 10px 0 !important;
    }

    .video-icon
    {
        background: transparent url(../images/playbuttonsmall.png);
        position: absolute;
        left: calc((100% - 24px) / 2 );
        top: calc((100% - 24px) / 2 );
        -webkit-transition: all 300ms linear;
        -moz-transition: all 300ms linear;
        -o-transition: all 300ms linear;
        -ms-transition: all 300ms linear;
        z-index: 10;
        opacity: 1;
    }
    .expert-video-text
    {
        max-height: 100px;
        overflow: hidden;
        font-size: .8em;
    }
}
    .mobile-background {display:none;}
    .kaigie-background {display:block;}
@media screen and (orientation:landscape) and (max-width:767px)
{
    .mobile-background {display:block;width:100%;}
    .kaigie-background {display:none;}
}
