/*--theme second--*/
#CMTilesLayout_1489 .theme-second {
    background-color: #backgroundcolor#;
    background-repeat: repeat;
    padding-bottom: 15px;
    /*padding: 23px;*/
}

    #CMTilesLayout_1489 .theme-second h2 {
        font-size: 18px;
        font-weight: bold;
        color: #515151;
    }

#CMTilesLayout_1489 .btn {
    letter-spacing: 1px;
    text-decoration: none;
    background: none;
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    /*white-space: nowrap;*/
    word-wrap: break-word;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    border: 3px solid;
    padding: 8px 20px;
}

#CMTilesLayout_1489 .btn-outlined {
    border-radius: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

    #CMTilesLayout_1489 .btn-outlined.btn-theme {
        background: none;
        color: #8a031e;
        border-color: #8a031e;
    }

      #CMTilesLayout_1489 .btn-outlined.btn-theme:hover,
      #CMTilesLayout_1489 .btn-outlined.btn-theme:active {
            color: #FFF;
            background: #8a031e;
            border-color: #8a031e;
        }
/*---Theme-second end--*/
#CMTilesLayout_1489 .ribbon-container {
    position: relative;
    display: inline-block;
    border: 6px solid #dfdfdf;
    border-radius: 0px;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    width: 100%;
}

#CMTilesLayout_1489 .ribbon-container img{width:100%; display:block;}

  #CMTilesLayout_1489 .ribbon-container:before {
        content: '';
        width: 100%;
        height: 100%;
 background-color: rgba(16, 58, 113, 0.5);
        position: absolute;
        top: 0px;
        left: 0px;
 transition: background-color 0.25s ease;
     }

   #CMTilesLayout_1489 .ribbon-container:hover::before {
         background-color:transparent;
    }

   #CMTilesLayout_1489 .ribbon-container:hover {
  
      border: 6px solid #FFFFFF;
         transition: border-color 0.25s ease 0s;
        background-color: transparent;
    }

#CMTilesLayout_1489 .ribbon {
    position: absolute;
    bottom:10px;
    left: -8px;
    background-color: #2558B0;
    box-shadow: inset 0 .062em 0 rgba(255,255,255,.6), 0 .125em .25em rgba(0,0,0,.2);
    color: #fff;
    text-shadow: 0 -.062em 0 rgba(0,0,0,.2);
    /*white-space: nowrap;*/
    word-wrap: break-word;
    transition: background-color .2s ease-in-out;
    border-bottom: 4px solid #FFFFFF;
    font-size: 17px;
    padding: 9px 25px;
}

    #CMTilesLayout_1489 .ribbon:before,
    #CMTilesLayout_1489 .ribbon:after {
        position: absolute;
        background-color: inherit;
        content: "";
    }

    #CMTilesLayout_1489 .ribbon:before {
        bottom: 0;
        border-radius: 0 0 0 .5em;
        background-image: linear-gradient(to right, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 100%);
    }

    #CMTilesLayout_1489 .ribbon:after {
        top: -1em;
        height: 1em;
        border-radius: .5em 0 0 .5em;
        background-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.2) 100%);
        box-shadow: 0 .062em 0 rgba(255,255,255,.6);
    }

