/***********************************************************************************
*   TEMPLATE TEXT
*/

.template_text .tl_empty {
    min-height: 100px;                
}

.template_text:after {
    height: 30px;
    content: " ";
    display: block;
    
    background-image: url(../img/separator.png);
    background-size: contain;
    background-position: center 0;
    background-repeat: no-repeat;
}

/***********************************************************************************
*   TEMPLATE IMAGE + TEXT
*/

.template_text_image {
    
}

.template_text_image:after {
    height: 30px;
    content: " ";
    display: block;
    
    background-image: url(../img/separator.png);
    background-size: contain;
    background-position: center 0;
    background-repeat: no-repeat;
}

.template_text_image .tl_image {
    float: left;
    padding-right: 10px;
    padding-bottom: 10px;
    min-width: 100px;
    min-height: 100px;
    max-width: 40%;
    z-index: 10;
    position: relative;
}

.template_text_image .tl_image > img {
    max-width: 100%;    
}

.template_text_image .tl_content {
    min-height: 20px;    
    z-index: 5;
    margin-bottom: 20px;
    overflow: hidden;
}

.template_text_image .tl_title {
    padding-bottom: 5px;
    min-height: 20px;
    font-size: 18px;
}

.site .template_text_image .tl_title {
    color: #da161d;    
    font-size: 20px;
    font-family: 'Titillium Web', Calibri;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba( 255,  255,  255, 0.3);
    margin: 0; 
    padding: 0;
}

.site .template_text_image .tl_image.tl_empty {
    display: none;    
}

.template_text_image .tl_image.tl_empty {
    width: 100px;
    height: 100px;    
}

.template_text_image .tl_title.tl_empty {
    height: 20px;    
}

.template_text_image .tl_content.tl_empty {
    height: 100px;    
}

.template_text_image.tls_medium .tl_image {
    max-width: 50%;
}

.template_text_image.tls_small .tl_image {
    float: none;
    margin: auto;    
}


/***********************************************************************************
*   TEMPLATE TEXT IMAGE 2x
*/

.tl_text_image2 .tl_left {
    width: 48%;
    float: left;    
}

.tl_text_image2 .tl_right {
    width: 48%;
    float: right;    
}

.tl_text_image2:after {
    display: none;    
}         

.tl_text_image2.tls_small .tl_left,
.tl_text_image2.tls_small .tl_right { 
    float: none;
    width: auto;    
}

.tl_text_image2.tls_small .tl_image {
    float: left;   
    max-width: 50%;
}


/***********************************************************************************
*   TEMPLATE LIST
*/

.site .template_list {
    color: white;  
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);    
}

.template_list .tl_number {
    padding: 2px 0;
    text-align: center;
    width: 30px;
    float: left;
}
.site .template_list .tl_number {
    background-color: #333;
}

.template_list .tl_title {
    margin-left: 35px;
    padding: 2px 10px;
}

.site .template_list .tl_title {
    background-color: #db161d;
}

.template_list .tl_title.tl_empty {
    min-height: 20px;    
}

.template_list .tl_content {
    margin-left: 35px;    
    padding: 5px 10px 20px 10px;
}

.template_list .tl_content.tl_empty {
    min-height: 100px;
}


/***********************************************************************************
*   TEMPLATE BOX
*/

.template_box:after {
    height: 30px;
    content: " ";
    display: block;
    margin-top: 20px;
    
    background-image: url(../img/separator.png);
    background-size: contain;
    background-position: center 0;
    background-repeat: no-repeat;
}

.template_box .tl_empty {
    min-height: 100px;        
}

.site .template_box .tl_box {
    color: white;
    background-color: #f00;
    background-image: url(../img/red_bgr.jpg);
    background-repeat: no-repeat;
    background-position: right bottom;  
    margin-bottom: 20px;      
}

.site .template_box .tl_content {
    padding: 20px 30px;
}

/***********************************************************************************
*   TEMPLATE BOX 2x
*/

.tl_box2 .tl_left {
    width: 48%;
    float: left;    
}

.tl_box2 .tl_right {
    width: 48%;
    float: right;    
}

.tl_box2.tls_small .tl_box {
    float: none;
    width: auto;    
}

/***********************************************************************************
*   TEMPLATE BOX 3x
*/

.tl_box3 .tl_left {
    width: 30%;
    float: left;    
}

.tl_box3 .tl_right {
    width: 30%;
    float: right;    
}

.tl_box3 .tl_center {
    margin: auto;
    width: 30%;
}

.tl_box3.tls_medium .tl_box, 
.tl_box3.tls_small .tl_box {
    float: none;
    width: auto;    
    margin-left: 0;
    margin-right: 0;
}