/**
* 2016 Jash Technologie
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
*
*  @author    Jash Technologie jash.fr
*  @copyright 2016 Jash Technologie
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/

#more-video-form-groups {
    margin-top: -50px;
}

.image-form-group a {
    text-decoration: underline;
}

#header .jashpsadv_block {
    clear: both;
    margin-left: 15px;
    margin-right: 15px;
    padding-top: 5px;
    padding-bottom: 0;
    margin-bottom: 0;
}

#module-jashpsadv-adlist .showall {
    display: none;
}

#global_ad_boxes h3 span, #ad_details_box h3 span {
    font-size: 60%;
    font-family: Arial;
    font-weight: normal;
    text-transform: none;
    margin-top: 0;
    margin-bottom: 0;
}

#global_ad_boxes h3 a {
    color: black;
    text-decoration: underline;
}

#ad_details_box .images .image_container,
#ad_details_box .videos .image_container {
    width: 33.3%;
    float: left;
    position: relative;
    margin-bottom: 15px;
}

#ad_details_box .images .image_container:nth-of-type(3n + 1),
#ad_details_box .videos .image_container:nth-of-type(3n + 1) {
    clear: both;
}

#ad_details_box .images .image_container img,
#ad_details_box .videos .image_container img {
    max-width: 100%;
    max-height: 100%;
/*     position: absolute; */
    top: 50%;
    left: 50%;
/*     transform: translate(-50%, -50%); */
/*     -ms-interpolation-mode: bicubic; */
}

#ad_details_box .images .image_container:nth-of-type(3n + 1) img,
#ad_details_box .videos .image_container:nth-of-type(3n + 1) img {
    padding-left: 0;
    padding-right: 10px;
}

#ad_details_box .images .image_container:nth-of-type(3n + 2) img,
#ad_details_box .videos .image_container:nth-of-type(3n + 2) img {
    padding-left: 5px;
    padding-right: 5px;
}

#ad_details_box .images .image_container:nth-of-type(3n) img,
#ad_details_box .videos .image_container:nth-of-type(3n) img {
    padding-left: 10px;
    padding-right: 0;
}

#ad_details_box .images {
    margin-bottom: -25px;
}

#ad_details_box .images:last-of-type {
    margin-bottom: -10px;
}

#ad_details_box .videos {
    margin-bottom: -10px;
}

#ad_details_box > hr {
    border-top: 1px solid #D6D4D4;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ad_description a,
.ad_description a:link,
.ad_description a:visited,
.ad_description a:hover,
.ad_description a:active,
.ad_description a:focus {
    color: black;
    text-decoration: underline;
}

#uniform-ad_tos {
    display: inline;
    position: relative;
    top: 2px;
}

label[for="ad_tos"] {
    display: inline;
}

#ad_list_cms_content {
    border: 1px #DDDDDD solid;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#ad_list_cms_content > :last-child {
    margin-bottom: 0;
}

#module-jashpsadv-myads #main  {
  padding-bottom: 40px;
}
