/**
 * SolutionrDEVs Application
 * (SD) Rankingi
 *
 * @brief       Ranking CSS
 * @author      Dawid Baruch <dawid.baruch@solutiondevs.pl> <a href='http://www.solutiondevs.pl'>SolutionDEVs</a>
 * @author      Krzysztof Osada <krzysztof.osada@agrofoto.pl>
 * @copyright   (c) 2005 - 2018 SolutionDEVs
 * @package     SolutionDEVs Apps
 * @subpackage  (SD) Rankingi
 * @link        http://www.solutiondevs.pl
 * @link        http://www.ipsbeyond.pl
 * @since       13 Dec 2016
 * @version     2.0.0
 */

body {
    background: #000;
}

a {
    color: #000;
}

img {
    height: auto;
    max-width: 100% !important;
}

#ipbwrapper {
    background: #fff;
    position: relative;
    min-width: 300px;
    padding-bottom: 20px;
}

.rank-nav {
    top: left;
    margin: 0 auto;
    position: fixed; 
    background: transparent; 
    z-index: 9 !important;
}

.rank-content {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff !important;
    position: relative;
}

#popupSimilarWrapper {
    background: #fff;
    position: absolute;
    top: 0px;
    padding: 15px;
    width: 100%;
    height: auto;
}

.rank-content .ipsLayout_withright {
    padding-right: 400px;
    padding-bottom: 40px;
}

.rank-content h1.ipsType_pagetitle {
    color: #404040;
    padding: 8px 0;
    font-size: 20px;
}

.rank-content .ranking_content {
    color: #404040;
    padding: 8px 0;
    font-size: 16px;
    line-height: 22px;
}

.rank-content .ranking_content p {
    color: #404040;
    font-size: 16px;
    line-height: 22px;
}

.rank-content .rank-img-wrapper {
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    width: 100%;
    padding: 0px 0px 15px 0px;
}

.rank-content .ipsLayout_content {
    width: 100% !important;
    margin-left: 2.5% !important;
    padding-top: 20px;
}

.ipsLayout_bigright.ipsLayout .ipsLayout_right {
    width: 310px;
    margin-right: -360px;
}

.rank-wrapper {
    background: transparent !important;
}

.rank-wrapper .ipsPad {
    padding:20px;
}

.rank-share {
    color: #404040;
    padding: 8px 0;
    font-size: 14px;
    font-weight: bold;
}

.rank-adv-top {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 5px;
    color: #ccc
}

.rank-adv-bottom {
    border-top: 1px solid #ccc;
    margin-top: 10px;
    padding-top: 5px;
    color: #ccc
}

.rank-img-wrapper {
    text-align: center;
}

.rank-img-wrapper img {
    width: auto !important;
    max-height: 600px;
    text-align: center;
    margin: 0 auto;
}

.rank-content {
    min-height: 750px;
}

#sdHeaderPadding {
    height: 50px;
}

.sdSimilar_row {
    width: 330px;
    padding: 15px;
    display: inline-block;
    vertical-align: top;
}

@media only screen and (max-width: 1366px) {
    #bottomNextImg span, #bottomPrevImg span {
        display: none;
    }
}

@media only screen and (max-width: 1280px) {
    .rank-content {
        max-width: 1024px;
    }
}

@media only screen and (max-width: 1024px) {
    .rank-content {
        max-width: 920px;
    }
}

@media only screen and (max-width: 960px) {
    .rank-content {
        width: 90% !important;
        background: transparent !important;
    }

    #popupSimilarWrapper {
        width: 90%;
        margin: 0 5%;
    }

    .rank-content .ipsLayout_withright {
        width: 90% !important;
        background: #fff;
        margin: 0 auto;
    }
    
    .rank-content .ipsLayout_content {
        width: 95% !important;
        margin-left: 2.5% !important;
    }
    
    .rank-wrapper .ipsLayout_right {
        width: 90% !important;
        padding: 15px 5% !important;
    }
    
    .rank-wrapper h3.rankingSidebarTitle {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 490px) {
    .rank-nav .nav-arrows {
        bottom: 0px;
        background: #363636 !important;
        height: 64px;
        width: 100%;
        top: auto !important;
        z-index: 99;
        box-shadow:0 0 10px rgba(0,0,0,0.15);
    }   
    
    .rank-content {
        padding: 50px 1% 100px 1% !important;
        width: 100% !important;
    }
    
    .rank-content .ipsLayout_withright {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .rank-content .ranking_content p {
        font-size: 14px;
        line-height: 20px;
    }

    .rank-content .ipsLayout_content {
        width: 100% !important;
        padding: 0;
        margin-left: 0 !important;
    }

    .rank-content .rank-img-wrapper {
        padding: 0 0 15px 0;
        background: #f4f4f4;
    }

    #popupSimilarWrapper {
        width: 98%;
        margin: 0;
        height: auto !important;
    }

    .rank-content h1.ipsType_pagetitle {
        padding: 8px 20px;
    }

    .rank-content .ranking_content {
        padding: 8px 0;
    }
    
    .rank-wrapper .ipsLayout_right {
        width: 100% !important;
    }

    #bottomNextImg span,#bottomPrevImg span {
        display: inline;
    }

    .sdSimilarRankings {
        max-width: 100%;
        width: auto !important;
    }
}

.reklama-agrofoto a  {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

.reklama-agrofoto img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

#closeImage:hover {
    text-decoration: none;
}

#closeImage {
    position: fixed;
    top: 0px;
    right: 0px;
    background: #35d335;
    padding: 0px 0 0 0;
    text-align: center;
    -webkit-box-shadow: 0 5px 9px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 5px 9px rgba(0,0,0,0.1);
    box-shadow: 0 5px 9px rgba(0,0,0,0.1);
    font-weight: bold;
    font-size: 18px;
    z-index: 999;
}

.rank-nav .nav-arrows {
    position: fixed; 
    z-index: 999; 
    top: calc(50% - 56px);
}

.rank-nav .nav-top {
    position: fixed; 
    z-index: 999; 
    top: 0;
    background: #363636 !important;
    height: 50px;
    width: 100%;
}

.rank-nav .nav-top .sdHomeLogoUrl img {
    height: 35px !important;
    width: auto !important;
    margin: 10px 0 0 10px;
}

#bottomNextImg,
#bottomPrevImg {
    color:#fff;
    background: #35d335;
    padding: 24px 12px;
    -webkit-box-shadow: 0 5px 9px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 5px 9px rgba(0,0,0,0.15);
    box-shadow: 0 5px 9px rgba(0,0,0,0.15);
    position: fixed; 
}

#bottomPrevImg {
    left: 0px; 
}

#bottomNextImg {
    right: 0px; 
}

#bottomNextImg:before, #bottomPrevImg:before {
    display:block;
    font-family: "FontAwesome";
    font-size:5em;
    position:relative;
}

#bottomNextImg:before {       
    content: "\f105";   
}

#bottomPrevImg:before {    
    content: "\f104";
}

#bottomNextImg:hover,
#bottomPrevImg:hover{
    background-color: #fff;
    color: #363636;
}

#closeImage::before {
    display:block;
    padding: 0px 15px;
    content: "\f00d";
    font-family: "FontAwesome";
    font-size:3rem;
    color:#fff;
    position:relative;
}

#closeImage:hover::before {
    background-color: #fff;
    color: #363636;
}

.ranking_content {
    padding: 10px 20px; 
    color: #000;
}

.ipsType_pagetitle {
    color: #000; 
    padding: 8px;
}

.ranking_source {
    padding: 10px 20px 0px 20px; 
    color: #acacac;
    text-align: right;
    font-style: italic;
    z-index: 9;
}
.ranking_source a {
    color: #acacac;
    font-style: italic;
}

.rankingSidebarTitle {
    padding: 8px 0;
    color: #414141;
    margin-bottom: 20px;
    text-align: left;
    font-size: 20px;
    font-family: Georgia, serif;
    font-weight: normal;
    line-height: 32px;
}

#popupSimilar {
    text-align: center;
    margin: 0px auto;
    padding: 0px 0px;
    width: 100%;
}

.sdSimilarRankings {
    margin: 0;
    width: 300px;
    min-height: 200px;
    padding: 5px;
}

.sdSimilarRankings h4 {
    color: #171717;
    display: block;
    font-size: 18px;
    font-weight: normal;
    line-height: 26px;
    margin-top: 15px;
    min-height: 52px;
}

#popupSimilarWrapper .ipsType_pagetitle {
    color: #000;
    margin: 10px; 
}

.ranking_content  ul {
    list-style: disc outside; 
    margin: 12px 0 12px 40px; 
}

.ranking_content ul.bbc ul.bbc {
   list-style-type: circle;
}

.ranking_content ul.bbc ul.bbc ul.bbc {
    list-style-type: square;
}

.ranking_content ul.decimal,
.ranking_content ul.bbcol.decimal, 
.ranking_content ol {
    margin: 12px 0 12px 40px !important; 
    list-style-type: decimal !important; 
}

.ranking_content ul.lower-alpha,
.ranking_content ul.bbcol.lower-alpha {
    margin-left: 40px;
    list-style-type: lower-alpha;
}

.ranking_content ul.upper-alpha,
.ranking_content ul.bbcol.upper-alpha {
    margin-left: 40px;
    list-style-type: upper-alpha;
}

.ranking_content ul.lower-roman,
.ranking_content ul.bbcol.lower-roman {
    margin-left: 40px;
    list-style-type: lower-roman;
}

.ranking_content ul.upper-roman,
.ranking_content ul.bbcol.upper-roman {
    margin-left: 40px;
    list-style-type: upper-roman;
}

#popupSimilarWrapper {
    margin-bottom: 15px;
}