/*
Conventions:
    heading/link/title= san serif (arial)
    body text= serif (georgia)

*/
{% load static from staticfiles %}

html,body{
    margin: 0px;
    padding: 0px;
    height: 100%;
}

a { font-family: Helvetica, Arial, sans-serif;}
a:link{ color: rgb(48,48,48); text-decoration: none;}
a:visited{ color:rgb(48,48,48); text-decoration: none;}
a:active{ }
a:hover{ color:rgb(192,192,192); text-decoration:none;}
.clear{ clear: both;}
.col{ float: left; }
.left-col{ float: right; width: 755px;}
.right-col{ float: right; width: 205px; }
.italics{ font-style: italic;}
.footer-spacer{ height: 55px;}

.push {
    width: 960px;
    /*height: 120px; */
}
.left{ float:left;}
.right{ float:right;}

#container{
    width: 960px;
    margin: 0px auto;
    position: relative;

    /* footer specs */
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto 0px; /* - footer height */
}

h1{
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
}
h2{
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: rgb(32,32,32);
}
h3{
    margin: 0px 0px 10px 0px;
    font-size: 12px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
}
img{ border: solid 1px #ccc;}
.noborder{ border: 0px !important;}
.caption {
    text-align: right;
    font-size: 11px;
    color: rgb(100,100,100);
    padding-top: 2px;
}
.loupe{
    border: solid 1px #D2D2D2;
}
#magnify-glass{
    position: absolute;
    bottom: 0px;
    right: -35px;
}

/* header + nav */
    #head {
        z-index: 100;
        background: #fff;
        width: 960px;
        padding: 16px 0px 18px 0px;
        margin: 0 auto;
        border-top: solid 4px rgba(0, 0, 0, 1);
    }
    #footer{
        box-sizing: border-box;
        position: relative;
        width: 960px;
        margin: -32px auto 0px;
        height: 32px;
        font-size: 12px;
        color: rgb(20, 20, 20);
        border: solid;
        border-width: 0px 0px 4px 0px;
        border-top-color: #d2d2d2;
        border-bottom-color: rgb(0, 0, 0);
    }

    #footer > div {
        padding: 5px 0px 0px 8px;
    }

    #socials {
      float: left;
      padding-left: 5px;
      width: 24%;
      box-sizing: border-box;
    }

    #info-circ {
      float: right;
      padding-right: 5px;
      box-sizing: border-box;
    }

    #copyright {
      text-align: center;
      box-sizing: border-box;
      width: 76%;
    }

    #footer i {
        font-size: 14px;
        margin-right: 10px;
        color: rgb(20, 20, 20);
    }

    #footer i:hover {
        color: rgb(100, 100, 100);
    }

    #footer .about a {
        font-size: 11px;
        color: #717171;
        font-family: Georgia,Times,serif;
        text-decoration: underline;
    }

    #footer .about {
        position: relative;
        padding: 0px;
    }

    #footer .about > a {
        padding: 8px 0px;
        display: block;
        width: 60px;
        margin: 0 auto;
    }

    #footer a.info {
        display: inline-block;
        padding: 8px 0px;
        margin-top: -8px
    }

    #footer a.info:hover + .about-popover,  #footer .about-popover:hover {
        float: right;
        display: block;
    }

    #footer .about-popover {
        font-size: 12px;
        text-align: left;
        font-family: Georgia,Times,serif;
        padding: 10px;
        border-radius: 4px;
        background: #fff;
        border: solid 1px rgb(230, 230, 230);
        width: 285px;
        line-height: 16px;
        position: absolute;
        top: -90px;
        z-index: 100;
        right: 0px;
        display: none;
        color: #444;
        box-shadow: 1px 0px 2px rgba(230, 230, 230, 0.9);
    }

    #footer .about-popover a {
        font-family: Georgia,Times,serif;
        font-size: 12px;
        text-decoration: underline;
    }

    #logo {
        float: left;
        display: block;
        margin: 10px 0px 0px 0px;
    }
    #logo-image{
        width: 190px;
    }
    #nav{
        float:right;
        font-family: Helvetica, Arial, sans-serif;
        font-size: 18px;
        margin: 6px 0px 0px 0px;
    }
    #nav > li {
        display: inline-block;
        position: relative;
        font-size: 16px;
        font-weight: 200;
    }
    #nav > li > a {
        padding: 6px 14.5px;
        color: #000;
        display: block;
    }
    #nav > li> a:hover {
        color: rgb(20, 20, 20);
        background: rgb(246, 246, 246);
        border-radius: 3px;
    }

    #nav a:link{ color: #000; text-decoration: none;}
    #nav a:visited{ color:#000; text-decoration: none;}
    #nav a:hover{ color:#888; text-decoration:none;}

    #nav .info-subnav {
        display: none;
        font-size: 13px;
        font-color: #333;
        z-index: 100;
        position: absolute;
        padding: 0px;
        top: 35px;
        right: -5px;
        background: rgb(0, 0, 0);
        color: #fff;
        min-width: 150px;
    }
        #nav .info-subnav li a {
            padding: 4px 8px;
            display: block;
            color: #fff;
            text-align: left;
        }

    @-moz-document url-prefix(){
        #nav{ margin: 15px 10px 0px 25px;}
    }

    .slash{
        margin: 0px 8px 0px 8px;
    }

    /* sidebar */
    .sidebar{float: right; }
    .sidebar li{
        font-size: 11px;
        color: #808080;
        font-family: Helvetica, Arial, sans-serif;
    }
    .sidebar li.selected { font-weight: bold; }
    .sidebar ul,li{ list-style-type: none;}
    .sidebar ul + ul{ margin-top: 20px;}
    /*.sidebar ul li span {display: none;}*/
    .sidebar ul {
        padding: 0px 0px;
        width: 120px;
        margin-top: 12px;
        /*background: rgb(250, 250, 250); */
        /*border: solid 1px rgba(210, 210, 210, 0.0);*/
        border-radius: 3px;
        margin-top: 0px;
    }
    .sidebar ul:hover {
        /*border: solid 1px rgb(210, 210, 210);*/
    }
    .spacer{ margin-top: 15px;}

    .sidebar a:link{ color: rgb(60, 60, 60); margin: 1px 0px; border-left: solid 2px rgba(255, 255, 255, 0.0); font-size: 12px; padding: 4px 8px; display: block; }
    .sidebar a:visited{  color: rgb(60, 60, 60); border-left: solid 2px rgb(255, 255, 255); }
    .sidebar a.selected { border-left: solid 2px rgb(210, 210, 210); }
    .sidebar a:hover{  border-left: solid 2px rgb(210, 210, 210); color: rgb(40, 40, 40); font-size: 12px; }
    .sidebar a:active{ background-color: rgb(230, 230, 230); color: rgb(40, 40, 40); font-size: 12px; }

    .feed-pagination{
        font-family: Helvetica, Arial, sans-serif;
        font-size: 12px;
        margin-top: 10px;
        position: relative;
        /*width: 650px;*/
    }
    .feed-pagination .next{ position: absolute; top:0px; right: 0px;}
    .feed-pagination .prev{ position: absolute; top: 0px; left: 0px;}
    .feed-pagination-pages{
        text-align: center;
    }
    .feed-pagination-random a{
        margin: 0px !important;
    }


    .pagination{
        font-family: Helvetica, Arial, sans-serif;
        font-size: 12px;
        margin-top: 10px;
        position: relative;
	display: inline-flex;
	justify-content: space-between;	
	width: 100%;
    }
    .pagination a{
    	margin-left: 2px;
	margin-right: 2px;
    }
    .pagination .next{ 
    	position: relative;
        margin: 0 !important;
	margin-left: 30% !important;	
	top:0px; 
	right: 0px;
	order: 2;
	width: 15%;	
	text-align: right;
	}
    .pagination .prev{ 
    	position: relative; 
	top: 0px; 
	left: 0px;
	order: 0;
	width: 20%;
	margin-right: 25%;
	}
    .pagination-pages{
        position: relative;
	order: 1;
	text-align: center;
	width: auto;
    }
    .pagination-random a{
        margin: 0px !important;
        /*text-decoration:underline;*/
    }
    .category-description{
        color: #000 !important;
    }

/* homepage */
    .event-block{
        font-size: 14px;
        font-family: Georgia,Times,serif;
        color: rgb(64,64,64);
        width: 626px;
        padding: 10px 0px;
        border-bottom: solid 1px #D2D2D2;
    }
    .event-block p{
        margin: 0px !important;
        padding: 0px !important;
        display:inline;
    }

    .event-block a{
        font-family:Georgia,Times,serif;
        font-size: 13px;
        text-decoration:underline;
    }
    .event-heading{
        color: rgb(30, 30, 30);
        margin-bottom: 4px;
    }
    .event-tag{
    }
    .event-body{
        font-size: 13px;
    }
    .event-date{
        font-style: italic;
        font-family: arial;

    }

    #email-thanks{
        padding: 15px 0px 0px 0px;
    }
    .social-icons{
        float:right;
        margin: 8px 8px 0px 0px;
        width: 80px;
    }
    .social-icons img{
        padding-left: 5px;
    }
    .custom-project-title{
        float:right;
        margin-right:10px;
    }
    .custom-project-title p{
        margin: 0px;
    }
    #featured{
        height: 520px;
        width: 960px;
        margin-top: 5px;
        margin-bottom: 10px;
        border: solid 1px rgb(230,230,230);
        overflow:hidden;
    }
    .feature-block{
        height: 520px;
        width: 960px;
        position: relative;
    }
    .feature-detail{
        display: none;
        position: absolute;
        bottom: 0px;
        right: 0px;

        min-width: 335px;
        background-image: url('{% static 'img/background.png' %}');
        background-repeat: repeat-x;
        color:#fff;
        padding: 10px 0px 10px 0px;
        font-size: 13px;
        font-family: Helvetica, Arial, sans-serif;
    }
    .feature-detail a:link{ color: #fff;}
    .feature-detail a:visited{ color: #fff;}
    .feature-detail a:active{ color: #fff;}
    .feature-detail a:hover{ color: #ccc;}
    .project-title{
        font-style: italic;
        float: right;
        margin-right: 10px;
    }
    .project-date{
        float: right;
        margin-right: 10px;
    }
    #bottom-row{
        height: 100%;
        min-height: 100%;
    }
    .news{
/*        background-color: rgb(246,246,246);
        border: solid 1px rgb(215,215,215);*/
        /*padding-bottom: 20px;*/
    }
    .news-heading{
        font-family:Helvetica, Arial, sans-serif;
        font-size: 14px;
        font-weight: bold;
        margin: 10px 0px 10px 0px;
        color: rgb(32,32,32);
    }
    .news-head {
        font-family:Helvetica, Arial, sans-serif;
        font-style: italic;
        font-size: 13px;
        color: rgb(128,128,128);
    }
    .news-block{
        margin-bottom: 12px;
    }
    .news-text{
        font-family:Georgia,Times,serif;
/*        width: 265px;*/ /* old size: 430 */
        font-size: 13px;
        color: rgb(64,64,64);
    }
    .news-text a{
        font-family:Georgia,Times,serif;
        font-size: 13px;
        text-decoration:underline;
    }
    .recent{
        width: 265px;
        font-size: 12px;
        font-family:Georgia,Times,serif;
        color: rgb(90,90,90);
        /*background-color: #f1f1f2;*/
    }
    .recent a{
           font-size: 12px;
           font-family:Georgia,Times,serif;
           text-decoration:underline;
    }
    .signup-col{
        background-color: rgb(242,242,242);
        border: solid 1px rgb(215,215,215);
        width: 153px;
    }
    .signup-block{
        font-family:Helvetica, Arial, sans-serif;
        font-size: 9px;
        color:#383838;
        width: 153px;
    }
    #signup{
        margin-top: 15px;
    }

    div.recent-block + div.recent-block{ margin-top: 15px;}
    .recent-head{
        color:#414141;
        font-size: 12px;
        font-style: italic;
    }
    .recent-text{
        color: #6d6d6d;
        font-size: 12px;
    }

    #signup input{ border: dotted 2px; border-color: #ccc; color:#333; float:left; height: 16px; width: 130px;}
    #submit-box{ margin-left: -5px; position: relative; float:left; border: solid 1px #afafaf; height: 20px; width: 20px; background-color:#939393; color:#fff;}
    #signup-text{font-family:Georgia,Times,serif;font-size: 12px;color: rgb(64,64,64);}
    #signup-text a{font-family:Georgia,Times,serif;font-size: 12px;text-decoration:underline;}
    .prev,.next{ float: left; cursor: pointer;}
    .next{ margin-left: 20px;}
    .controls{
        position: absolute;
        bottom: 8px;
        left: 20px;
    }


/* work-list */
    .toggle a:link{ color: #000 !important;}
    .toggle a:visited{ color: #000 !important;}
    .toggle a:hover{ color: #000 !important;}
    .toggle a:active{ color: #000 !important;}
    .toggle{ font-family: monospace !important;}

    #work-list{
        width: 100%;
        padding: 0px 0px 10px 0px;
        overflow: auto;
        margin-bottom: -9px;
        margin-top: 0px;
    }

    #work-list .inner {
        padding-left: 32px;
    }

    /* work list nav */
    .sticky-wrap {
        width: 100%;
        position: relative;
        width: 960px;
        border: solid 1px rgba(0, 0, 0, 0);
        z-index: 1000;
        -webkit-backface-visibility: hidden;
    }
    .sticky-wrap.sticky {
        position: fixed;
        top: 0px;
        border-radius: 4px;
        -webkit-backface-visibility: hidden;
    }

    .sticky-wrap.sticky .categories {
        top: -1px;
    }

    .sticky-wrap.sticky .current-cat {
        background: rgba(255, 255, 255, 0.96);
    }
    .categories {
        font-family: Helvetica, Arial, sans-serif;
        font-size: 11.5px;
        position: absolute;
        right: 3px;
        top: 1px;
        -webkit-backface-visibility: hidden;
    }
    .categories .current-cat {
        padding: 8px;
        color: rgb(78, 78, 78);
        border: solid 1px rgb(230, 230, 230);
        background: rgba(255, 255, 255, 0.96);
        cursor: pointer;
    }
    .categories:hover #category-dropdown {
        display: block;
    }
    .categories:hover .current-cat {
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 0px;
    }

    #category-dropdown {
        background: rgba(255, 255, 255, 0.96);
        border: solid 1px rgb(230, 230, 230);
        border-top: none;
        margin: 0px -1px;
        padding: 0px;
        position: absolute;
        right: 1px;
        display: none;
        list-style-type: none;
        text-decoration: none;
         min-width: 145px;
    }

    #category-dropdown:hover {
        display: block;
    }

    #category-dropdown li a {
        padding: 3px 10px;
        display: block;
        color: #505050;
    }

    #category-dropdown li a.selected {
        color: rgb(20, 20, 20);
    }
    #category-dropdown li a:hover {
        color: rgb(20, 20, 20);
    }


    .year-block{
        margin: 0px 0px 20px 0px;
    }
    .sub-year-block{
        margin: 0px 0px 0px 0px;
    }

    .year-head{
        border: dashed 1px rgb(200,200,200);
        border-width: 0px 0px 1px 0px;
    }
    .sub-year-head{
        border: dotted 1px rgb(200,200,200);
        border-width: 0px 0px 1px 0px;
    }
    .year{ font-family: Georgia,Times,serif; float: left; color:#585858; margin: 0px 0px 2px 0px;} .toggle{ float:right; color:#585858; margin: -20px 0px 3px 0px; font-size: 13px; cursor:pointer;}
    .work{
        float: left;
        width: 182px;
        margin: 0px 12px 12px 0px;
        color: #787878;
        font-size: 11px;
        font-style: italic;
        position: relative;
        min-height: 146px;
        display: inline-block;
        box-sizing: border-box;
    }

    .work.first { margin-left: -32px; }
    .work.last { margin-right: 0;}

    .work img {
        width: 100%;
        border: none;
        vertical-align: middle;
    }

    .work .work-inner {
        position: relative;
        min-height: 151px;
        min-width: 182px;
    }

    .work .work-inner .overlay {
        background: rgba(0, 0, 0, 0);
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        left: 0px;
        z-index: 0;
        transition: background 0.25s ease;
        -moz-transition: background 0.25s ease;
        -webkit-transition: background 0.25s ease;
    }
    .work .work-inner:hover .overlay {
        background: rgba(0, 0, 0, 0.5);
        transition: background 0.25s ease;
        -moz-transition: background 0.25s ease;
        -webkit-transition: background 0.25s ease;
    }

    .work .work-date {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 100;
        font-family: arial;
        font-size: 10px;
        font-style: normal;
        color: rgba(255, 255, 255, 0);
        transition: color 0.30s ease;
        -moz-transition: color 0.30s ease;
        -webkit-transition: color 0.30s ease;
    }
    .work .work-inner:hover .work-date {
        color: rgba(255, 255, 255, 1);
        transition: color 0.30s ease;
        -moz-transition: color 0.30s ease;
        -webkit-transition: color 0.30s ease;
    }

    .work .work-title {
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
        padding: 8px;
        z-index: 1;
        transition: background 0.45s ease;
        -moz-transition: background 0.45s ease;
        -webkit-transition: background 0.45s ease;
        background: rgba(0, 0, 0, 0.5);
    }

    .work .work-inner:hover .work-title {
        visibility: visible;
        transition: background 0.45s ease;
        -moz-transition: background 0.45s ease;
        -webkit-transition: background 0.25s ease;
        background: rgba(0, 0, 0, 0.0);
    }

    .work .work-title a {
        color: #fff;
    }

    .about-block {

        background: #F2F2F2;
        border: solid 1px #d7d7d7;
        font-family: Georgia,Times,serif;
        font-size: 12px;
        color: #404040;
    }

    .about-block .block {
        width: 25%;
        padding: 14px;
        float: left;
        box-sizing: border-box;

    }

/* category list */
    #cat-list{
        width: 720px;
    }

/* work-detail */
    .technotes-toggle{
        cursor: pointer;
        border: dashed 1px rgb(200,200,200);
        border-width: 0px 0px 1px 0px;
        font-family: Georgia,Times,serif !important;
    }
    #work-detail-list{
        padding: 10px 10px 0px 0px;
        margin: 0px 0px 30px 0px;
    }
    #work-detail{
        padding: 10px 10px 0px 0px;
        margin: 0px 0px 30px 0px;
        min-width: 600px; /* backwards incompatible */
    }
    .work-image-container{
        position:relative;
    }

    .work-image-container .image-wrap {
        float: left;
    }
    #work-detail-img{
        display: block;
        /*width: 720px; */
    }
    #work-detail-text{
        padding: 0px 0px 0px 0px;
        width: 600px; /*550px*/
    }
    .detail-title{
        font-size: 14px;
        font-family: Helvetica, Arial, sans-serif;
        color: rgb(16,16,16);
        margin: 0px 0px 2px 0px;
    }
    .detail-info{
        font-size: 12px;
        line-height: 15px;
        color: rgb(24,24,24);
        margin: 0px 0px 15px 0px;
        font-family: Helvetica, Arial, sans-serif;
    }
    .detail-text{
        color: rgb(32,32,32);
        font-size: 14px;
        font-family: Georgia,Times,serif;
        width: 600px;
    }
    .detail-text a{ font-family: Georgia,Times,serif;text-decoration:underline;}
    .see-also{
        font-size: 11px;
    }
    .see-also h3{ margin: 3px 0px 0px 0px;}
    .thumb-title{
        position: absolute;
        font-size: 10px;
/*        display: table;*/
        margin: 0px;
        left: 8px;
        top: 8px;
        right: 8px;
        bottom: 8px;
        color: #fff;
    }
    .thumb-title a{ display: table-cell; text-align: left; vertical-align: middle; word-wrap:break-word;}
    .thumb{
        float: left;
    }

    .work-sidebar li .overlay {
        position: absolute;
        display: block;
        top: 0px;
        bottom: 0px;
        right: 0px;
        left: 0px;
        background: rgba(0, 0, 0, 0);
        transition: background 0.25s ease;
        -moz-transition: background 0.25s ease;
        -webkit-transition: background 0.25s ease;
    }

    .work-sidebar li .overlay .thumb-title {
        color: rgba(255, 255, 255, 0);
        transition: color 0.25s ease;
        -moz-transition: color 0.25s ease;
        -webkit-transition: color 0.25s ease;
    }

    .work-sidebar li .overlay:hover .thumb-title {
        color: rgba(255, 255, 255, 1);
        font-weight: bold;
        transition: color 0.25s ease;
        -moz-transition: color 0.25s ease;
        -webkit-transition: color 0.25s ease;
    }

    .work-sidebar li .overlay:hover {
        background: rgba(0, 0, 0, 0.5);
        transition: background 0.25s ease;
        -moz-transition: background 0.25s ease;
        -webkit-transition: background 0.25s ease;
    }

    .work-sidebar .thumb {
        width: 120px;
    }
    .work-sidebar ul {
        float: right;
    }
    #work-ancillary{
        float: right;
        padding-top: 0px;
        width: 120px;
        margin-top: 0px;
    }
    #tech-notes{
        margin-top: 10px;
        padding-top: 0px;
        padding-right: 0px;
        padding-left: 0px;
    }
    #additional-notes{
        margin-top: 10px;
        padding-top: 0px;
        padding-right: 0px;
        padding-left: 0px;
    }
    .work-sidebar{ padding: 0px 0px 0px 15px; width: 190px; margin-top: 0px;}
    .work-sidebar ul{ margin-top: 10px; margin-bottom: 20px;}
    .work-sidebar li{ margin: 0px 0px 10px 0px; position: relative;}

    /* firefox hack to fix weird positioning */
    @-moz-document url-prefix(){
        .work-sidebar ul{ margin-top: -5px;}
        .work-sidebar{ padding-top: 0px;}
     }

    .play-icon{ position: absolute; left:0px; bottom: 0px;}
    #work-detail-vid{ display: none;}
    .image-detail-title{
        text-align: center;
        font-style: italic;
        font-size: 11px;
        color:#333;
    }

    .image-detail.two-col {
      width: 337px;
    }

    .image-detail.two-col img {
      width: 100%;
    }

    .image-detail img{
        border: solid 1px #ccc;
    }

/* pages */

    .page, .page-about, .page-press { /*width: 600px;*/ }
    .page-cv { width: 720px; }
    .page-text{
        font-family: Georgia,Times,serif;
        font-size: 14px;
        color:#383838;
    }
    .note-head{
        border: dotted 1px rgb(200,200,200);
        border-width: 0px 0px 1px 0px;
        font-family:Helvetica, Arial, sans-serif;
        font-size:14px;
    }
    .note-text{
        color: rgb(80,80,80);
        font-size: 12px;
        font-family: Georgia,Times,serif;
        width: 600px;
    }
    .note-text a{ font-family: Georgia,Times,serif;text-decoration:underline;}
    /*.page-text a{ font-family: Times;text-decoration:underline;}*/

/* reviews */
#review-detail{
    padding: 0px 10px 0px 0px;
    margin: 0px 0px 25px 0px;
}
.review-title{
    text-align: left;
    font-style: italic;
    font-size: 11px;
    color:#333;
    width: 120px;
    padding-top:6px;
}
.review-image-detail{
    float: left;
    padding: 9px 18px 9px 0px;
    text-align: center;
}

.image-detail{
    float: left;
    text-align: center;
}
/*
div.image-detail + div.image-detail{
    margin-left: 17px;
}
*/

.image-detail * {
    vertical-align: middle;
}
/*\*//*/
.image-detail {
    display: block;
}
.image-detail span {
    display: inline-block;
    height: 100%;
    width: 1px;
}
/**/

.image-detail{
    float: left;
    text-align: center;
}

/* custom popup styles for magnific lightbox */

.custom-popup-class {
    clear:both;
}

.custom-popup-class .mfp-container {
  padding-top: 110px;
  padding-bottom: 110px;

}

.custom-popup-class .mfp-content {
  min-width: 100px;
  display:inline-block;
  text-align: center;
}

.custom-popup-class .mfp-title {
  position:absolute;
  color: #000;
}

.caption-box {
    width: 400px;
    margin-left:auto;
    margin-right:auto;
    padding-top: 10px;
    padding-bottom:24px;
    overflow:auto;
}

.gallery-counter {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 30px 30px 30px 30px;
    font-size:12px;
    line-height:15px;
    color:#000;
    font-family: Helvetica, Arial, sans-serif;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}

/* review classes */

.review-img{
    clear:both;
}

.review-avatar {
    float: left;
}

.review-info {
    text-align: left;
    font-size: 12px;
    line-height: 15px;
    color: rgb(24,24,24);
    margin-left:15px;
    float: left;
    font-family: Helvetica, Arial, sans-serif;
}

.review-thumb {
    position: relative;
    height: 160px;
    width: 120px;
}

.review-grid-element:hover .review-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;

}

.review-thumb .overlay {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0px;
    bottom: -2px;
    right: -2px;
    left: 0px;
    z-index: 0;
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
}

.review-grid-element:hover .review-thumb .overlay {
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
}

.review-thumb .review-date {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 100;
    font-family: arial;
    font-size: 10px;
    font-style: normal;
    color: rgba(255, 255, 255, 0);
    transition: color 0.30s ease;
    -moz-transition: color 0.30s ease;
    -webkit-transition: color 0.30s ease;
}
.review-grid-element:hover .review-thumb .review-date {
    color: rgba(255, 255, 255, 1);
    transition: color 0.30s ease;
    -moz-transition: color 0.30s ease;
    -webkit-transition: color 0.30s ease;
}

/* talks classes */

.talk-detail{
    padding: 0px 10px 0px 0px;
    margin: 0px 0px 25px 0px;
}
.talk-title{
    font-family: Helvetica, Arial, sans-serif;
    text-align: left;
    font-size: 11px;
    color:#333;
    width: 340px;
    padding-top:6px;
}
.talk-image-detail{
    float: left;
    padding: 9px 18px 9px 0px;
    text-align: center;
}

.talk-video {
  position: relative;
  height: 200px;
  width: 350px;
  z-index: 0;
}
.talk-grid-element:hover .talk-video {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
}

.talk-video .overlay {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0px;
    bottom: -2px;
    right: -2px;
    left: 0px;
    z-index: 2;
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
}

.talk-grid-element:hover .talk-video .overlay {
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
}


/*.talk-video .mfp-close {
    top: -44px;
    color: #333;
    text-align: center;
    right: 1px;
}
*/

.video-text-wrap {
    float: right;
    width:50%;
    padding: 0px;
}

.video-caption {
    font-size:12px;
    line-height:15px;
    color:#000;
    text-align: right;
    font-family: Helvetica, Arial, sans-serif;
}

.video-title{
    padding-top: 10px;
    padding-bottom:10px;
    font-size: 11px;
    font-family: Helvetica, Arial, sans-serif;
    color: rgb(16,16,16);
    text-align: right;
}



#video-detail {
    margin-bottom: 60px;
}

.video-thumb {
    width: 236px;
    height: 145px;
    float: left;
    position: relative;
    margin: 10px 20px 20px 0px;
    border: solid 1px rgb(140, 140, 140);
}

.video-thumb.last {
    margin-right: 0px;
}

.video-thumb:hover {
    cursor: pointer;
}

.video-thumb .inner {
    height: 100%;
    overflow: hidden;
    width: 100%;
    position: relative;
    display: block;
}

.video-thumb .title {
    font-size: 12px;
    font-style: italic;
    padding: 4px 0px;
}

.video-thumb .overlay {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
    background: rgba(0, 0, 0, 0);
}
.video-thumb:hover .overlay {
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
    background: rgba(0, 0, 0, 0.3);
}

.video-thumb img {
    vertical-align: middle;
    margin-top: -15px;
    margin-left: -15px;
}

.video-thumb .fa-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    font-size: 33px;
    color: white;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
    margin-top: -13px;
    margin-left: -12px;
}

#modal {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

#modal .video-wrap {
    position: absolute;
/*    width: 620px;
    height: 440px;*/
    padding: 12px 12px 8px 12px;
    background: #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    top: 50%;
    left: 50%;
    margin: -205px 0px 0px -300px;
}
</style>
<!--[if lt IE 8]><style>
.wraptocenter span {
    display: inline-block;
    height: 100%;
}
</style><![endif]-->
.break-this-above-style{}

/* blog */
.blog-pagination{
    margin-top: 10px;
    position: relative;
    width: 600px;
}

.blog-pagination .next{ position: absolute; top:0px; right: 0px;}
.blog-pagination .prev{ position: absolute; top: 0px; left: 0px;}

.blog-text{
    font-weight:normal;
    font-family:Georgia,Times,serif;
    font-size: 14px;
    color: rgb(36,36,36);
}
.blog-text a{
    font-family:Georgia,Times,serif;
    font-size: 14px;
    text-decoration:underline;
}

.blog-proj-desc-title{color: #787878}
.blog-work-description{ float: left; width: 380px;}
.blog-work{ float: right; width: 150px; margin: 10px 20px 10px 0px; color: #787878; font-size: 11px; font-style: italic;}
.blog-date{
    float: right;
    font-weight:normal;
    font-family:Georgia,Times,serif;
    font-style: italic;
    font-size: 13px;
    color: rgb(128,128,128);
}
.current {font-weight:bold;}
.tags{
    float:right;
    font-size: 12px;
    font-family:Georgia,Times,serif;
    min-width: 100px;
}
.tags a{
    float:left;
    font-size: 12px;
    font-family:Georgia,Times,serif;
}
.blog-title{float: left; font-weight: bold; width: 500px;font-size: 14px}

#blog-list{
    width: 650px;
}
#blog-detail{
    width: 600px;
}
.post{
    background-color: rgb(246,246,246);
    border: solid 1px rgb(230,230,230);
    padding: 15px;
    /*border-left: solid 8px rgb(200,200,200);*/
    margin-bottom: 10px;
    /*border-bottom: solid 1px rgb(150,150,150);*/
}

/* grid */
#gridview{
    float:right;
    font-size: 12px;
    margin-top: -14px;
    margin-right: 10px;
    position: relative;

}
.grid-image-detail{
    text-align: center;
    margin-bottom: 20px;
}
.grid-detail-back{
    text-align: right;
    margin: ;
}
#grid-detail{
    width: 930px;
    margin-bottom: 30px;
}
.image-container{
}
.grid-detail-title{
    text-align: left;
    font-size: 11px;
    color: rgb(100,100,100);
    padding-top: 2px;
}


#bottom-row-table{
    height: 100% !important;
    min-height: 100% !important;
    width: 960px;
    margin-top: 10px;
}

/* arrow box */
.arrow_box {
    position: relative;
    background: #fff;
    top: 10px;
    left: 134px;
}

.arrow_box:after, .arrow_box:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(136, 183, 213, 0);
    border-top-color: #fff;
    border-width: 5px;
    margin-left: -5px;
}
.arrow_box:before {
    border-color: rgba(194, 225, 245, 0);
    border-top-color: #E1E1E1;
    border-width: 6px;
    margin-left: -6px;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #ffffff;
  opacity: 0.75;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  margin-bottom: 80px;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
//  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
//  position: fixed;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: inline; //block;
  float: right;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 60px;
  height: 60px;
  line-height: 44px;
  position: fixed;
  right: 11%;
  top: 10%;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 0 0;
  color: #FFF;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #000;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.25;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 50px;
  height: 50px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 0.5;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
  //  width: 0;
  //  height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 10px;
    margin-left: 10px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 10px;
    border-bottom-width: 10px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 10px;
    border-bottom-width: 10px;
    opacity: .65; }

.mfp-arrow-left {
  left: 10%; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 20px;
    border-right: 15px solid #000000; }

.mfp-arrow-right {
  right: 10%; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 15px solid #000; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #000000;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }
