﻿body {
    position: relative;
}

/*form styles*/
#msform {
    width: 98%;
    background: white;	
	border-radius: 3px;	
	padding: 0px 5px;
	box-sizing: border-box;
	margin: 25px auto;
    border: 0 none;
}

.col-foto-perfil {
    min-height: 100px !important;
    min-width: 100px !important;
    padding-right: 0 !important;
}

figure.foto-perfil {
    width: 160px; 
    height: 160px;
}

.col-nombre-empresa {
    padding-left: 5px !important;
}

.col-nombre-empresa > h1 {
    margin-top: 0 !important;
}

fieldset {
    display: inline-block;    
    width: 100%;
}

.panel-heading-promo > .panel-title > h3 {
    text-align: justify;
    margin: 0 !important;
    overflow:hidden !important;
    text-overflow: ellipsis;
}

.panel-promocion-content {
    padding: 0 !important;
}

.col-promocion {
    padding-right: 0 !important;
}

.img-promocion {
    width: 60%;
    float: left;
    display: inline-block;
}

.foto-promocion {
    /*height: 269px; /* Se agrega mas altura por los botones de compartir, para que no se vea un espacio blanca debajo de la imagen */
    height: 283px;
    width: 100%;
}

.content-promocion {
    top: 0;
    left: 20%;
    display: block;
    float: left;
    width: 40%;
    max-height: 100%;
    height: 100% !important;
    
}

.lblDescripcionPromo {
    padding-right: 0px;
}

.lblDescripcionPromo > p {
    margin: 8px 10px;
}

/* Scrollbars */
.content-promocion::-webkit-scrollbar {
  width: 5px;
}
 
.content-promocion::-webkit-scrollbar-thumb:vertical {
  margin: 5px;
  background-color: #999;
  -webkit-border-radius: 5px;
}

.ribbon-container {
    margin-top: 100px;
    margin-bottom: 50px;
}

.lblDuracionPromo {
    position: absolute;
    top: -105px;
    width: 100%;
    margin-left: 10px;
    text-align: center;
}

.count-down {
    width: 270px; 
    height:200px; 
    margin: 0 auto;
}

.ribbon {
	position: absolute;
    right: 0;
    margin-left: 1em;    
    color: #fff;
    background-color: #5bc0de;	
    font-size: 24px;
    white-space: nowrap;
	text-shadow: 0 -.062em 0 rgba(0,0,0,.2);	
	transition: background-color .2s ease-in-out;
    padding: 5px 7px;
    border-radius: 0px !important;
    width: 180px;
}

.ribbon:focus,
.ribbon:hover {
    color: #fff !important;
}

.ribbon:before,
.ribbon:after {
	position: absolute;
	background-color: inherit;
	content: '';
}

.ribbon:before {
	bottom: 0;
    right: -.5em;
	width: .5em;
	height: 2em;
    border-radius: 0 0 .5em 0;
}

.ribbon:after {
	top: -27px;
    right: -.5em;
	width: .5em;
	height: 1.2em;
    border-radius: 0 .5em .5em 0;
	background-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.2) 100%);
}

.bookmark-ribbon {  
  outline: none;
  outline-color: transparent;
}

.bookmark-ribbon:before {
    top: -1px;
    left: -25px;
    height: 104%;
    border-width: 21px;
    border-color: #5bc0de #5bc0de #5bc0de transparent;
    z-index: 1;
}

.bookmark-ribbon:before:active {
    outline: none;
}

var:before {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-style: solid;
  border-width: 0;
  outline: none;
}

.colBtnVerDetallePromo {
    padding-left: 5px;
}

.btnVerDetallePromo {
    margin-top: 10px;
}


.compartir-promocion {
    /*margin-top: -5px;*/
    margin-top: 5px;
    margin-left: 20px;
    float: left;
    width: auto !important;
    padding-right: 0px;
}

ul.social-network.social-circle {
    margin: 0px;
}

/* Reducimos el tamaño de los botones de compartir*/
.social-network.social-circle {
    float: left;
}

.social-circle li a.btn-share {
    width: 30px !important;
    height: 30px !important;
    font-size: 150% !important;
}

.social-circle li i {
	line-height: 30px !important;
}

/*.divider {
    top: 9px !important;
    height: 30px !important;
}*/


@media (max-width: 1000px) {
    .ribbon-container {
        margin-top: 100px;
    }

    .lblDuracionPromo {
        top: -105px;
    }
}

@media (max-width: 715px) {
    .img-promocion {
        width: 100%;
    }

    .foto-promocion {
        width: 100%; /* ~686 */
        height: 255px;
    }

    .content-promocion {
        float: left;
        width: 100%;
    }

    .ribbon-container {
        margin-top: 30px;
    }

    .lblDuracionPromo {
        top: -35px;
        text-align: left;
    }

    .count-down {
        margin: 0;
    }

    .compartir-promocion {
        margin-top: 20px;
        margin-bottom: 5px;
    }   
}

@media (max-width: 640px) and (min-width: 480px) {
    figure.foto-perfil {
        width: 120px !important; 
        height: 120px !important;
    }    
}

@media (max-width: 600px) {
    .foto-promocion {
        width: 100%; /* ~574 */
        height: 213px;
    }
}

@media (max-width: 515px) {
    .ribbon-container {
        margin-top: 100px;
    }

    .lblDuracionPromo {
        top: -105px;
        text-align: center;
    }

    .count-down {
        margin: 0 auto;
    }
    
    .compartir-promocion {
        margin-top: 2px;
    }
}

@media (max-width: 500px) {
    .foto-promocion {
        width: 100%; /* ~476 */
        height: 176px;
    }
}

@media (max-width: 480px) {
    figure.foto-perfil {
        height: 80px !important; 
        width: 80px !important;        
        position: relative;
        top: 0px; 
        left: 0px;
        
    }
}

@media (max-width: 400px) {
    .foto-promocion {
        width: 100%; /* ~379 */
        height: 140px;
    }
}