/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Aug 30, 2015, 9:02:45 PM
    Author     : Sergey
*/
.sec-form-table,
.sec-form-table tr,
.sec-form-table tr td{
    border: none;
}
.sec-red{
    color: red;
}
.sec-txt-muted{
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}
.sec-gallery-wrapper{
    display: inline-block;
    width: 97%;
    /*height: 360px;*/
    padding: 15px 15px;
    margin: 0 -10px;
    /*overflow: auto;*/
    background: #F1F1F1;
}
.sec-details-user-image{
    float: right;
    height: 100px;
    margin: 10px;
}
.sec-votes-badge{
    display: inline-block;
    position: absolute;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
    right: 0px;
    z-index:667;
}
.sec-contestant-details{
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
}
.sec-box-footer{
    position: absolute;
    display: inline-block;
    bottom: 0;
    /*height: 84px;*/
    padding: 10px;
}
.sec-essay-footer{
    position: relative;
    display: inline-block;
    height: 36px;
    width: 100%;
    margin: 20px 0 0px 0;
}
.sec-box {
    float: left;
    position: relative;
    width: 25%;
    height: 150px;
    padding-bottom: 20%;
    height: 280px;
}
.sec-boxInner {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    overflow: hidden;
    background: white;
    border: solid 1px #777;
}
.sec-boxInner img {
    width: 100%;
    height: auto;
}
#sec-gallery-filter{
    margin-bottom: 10px;
}
.sec-essay-title{
    color: black;
    font-size: 18px;
}
.sec-essay-desc{
    text-align: left;
    font-size: 14px;
    padding: 20px;
    color: black;
}
.sec-boxInner .sec-titleBox {
    /*margin-bottom: -50px;     */
    color: #FFF;
    padding: 10px;
    text-align: center;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.sec-titleBox:before {
    content:'';
    width:100%;
    height:100%;
    position:absolute;
    left:0;
    top:0;
    background:linear-gradient(transparent 100px, #fff);
}



.sec-boxInner a,
.sec-essay-footer a{
    text-decoration: none;
    font-size: 14px;
    border-bottom: none !important;
    display: inline-block;
    text-decoration: none;
}
.sec-box-footer img{
    width: 36px;
    height: 36px;
}
body.no-touch .sec-boxInner:hover .sec-titleBox, body.touch .sec-boxInner.touchFocus .sec-titleBox {
    margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
    /* Smartphone view: 1 tile */
    .sec-box {
        width: 100%;
        padding-bottom: 100%;
    }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
    /* Tablet view: 2 tiles */
    .sec-box {
        width: 100%;
        padding-bottom: 50%;
    }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
    /* Small desktop / ipad view: 3 tiles */
    .sec-box {
        width: 50%;
        padding-bottom: 33.3%;
    }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px){
    /* Medium desktop: 4 tiles */
    .sec-box {
        width: 33.3%;
        padding-bottom: 25%;
    }
}

.essay-body p, essay-body b {
    line-height:120% !important;
    font-size:0.95 !important;
}
.sec-gallery-pagination{
    width: 100%;
    text-align: center;
}
.sec-cur-page{
    font-weight: 900;
    font-size: 120%;
    color: #042F8D;
}
.not-active {
    pointer-events: none;
    cursor: default;
    color:lightsteelblue;
}
#sec-single-essay-back{
    float: left;
}
#sec-single-essay-next{
    float: right;
}
#sec-navigation{
    width: 100%
}
#sec-navigation>div{
    width: 33%;
    float:left;
}
