#homepage .ui-content{
    padding: 15px 5px !important;
    
}
/* Header Logo */

#header-container{
    background-color: #969EAD;
    border-top: 20px solid #848EA4;
    border-bottom: 3px solid #E78419;
}
#header_logo{
    text-align: center;
    margin: 4% 0 6% 0;
}

/* END Header Logo */

/* Header Menu */

#header_menu_button{
    border: 3px solid #848EA4;
    padding-left: 6%;
}
.a_header_navigation{
    font-size: 15px;
}
#header_navigation{
    float: right;
    position: relative;
    margin: 6% 3% 6% 0;
    width: 135px;
}

/* END - Header Menu */

/* Homepage Navigation */

.navigation_item a,
.navigation_homepage a{
    height: 35px !important;
}
.navigation_item{
    width: 40% !important;
}
.navigation_homepage{
    width: 20% !important;
}
.navigation_homepage a{
    background-image: url('../images/homepage.png');
    background-repeat: no-repeat;
    background-position: 50% 42%;
}

.navigation_homepage span{
    /*padding-top: 0.3em !important;
    padding-bottom: 0.2em !important;*/
}

/* END - Homepage Navigation */

/* Home Page Splash */

#homepage_splash{
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    padding: 5px;
    color: #565656;
    background-color: white;
    text-align: center;
}
#homepage_flash{
    width: 191px;
    margin: 0 auto;
}
#homepage_about_text{
    margin: 0 10px;
    font-size: 14px;
}
#homepage_about_text_link{
    margin-bottom: 15px;
}
#homepage_about_text_link a{
    background-color: #F2F2F2;
    color: #565656;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #C1C1C1;
    border-radius: 5px;
    padding: 3px 8px;
}
#homepage_intro_text{
    background-color: #D0D0D0;
    padding: 2px 10px;
    border-radius: 5px;
}

/* END - Home Splash */

/* Homepage Ergomed Services */
#homepage_ergomed{
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    padding: 0 10px 0 10px;
    color: #565656;
    margin: 10px 0;
}
#homepage_ergomed .ergomed_service{
    border-bottom: 1px dotted #CCCCCC;
    margin: 15px 0;
}
#homepage_ergomed .ergomed_service_last{
    border-bottom: none;
    margin: 15px 0;
}
#homepage_ergomed .service_title{
    font-weight: bold;
    font-size: 14px;
}
#homepage_ergomed .service_title p{
    margin: 0;
}
#homepage_ergomed .service_title span{
    color: #16546B;
}
#homepage_ergomed .service_intro_text{
    margin: 2% 0;
    font-size: 14px;
}
#homepage_ergomed .service_intro_text p{
    margin: 0;
}
#homepage_ergomed .article_section_link{
    margin: 10px 0 15px 0;
    text-align: center;
}
#homepage_ergomed a{
    background-color: #F2F2F2;
    color: #565656;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #C1C1C1;
    border-radius: 5px;
    padding: 3px 8px;
}

/* END - Homepage Ergomed Services */

/* Homepage Events */

#homepage_events{
    margin: 25px 0 0 0 !important;
    padding: 0 !important;

}
#homepage_events .article_section_wrap{
    margin: 2% 15px;
    padding: 2%;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    background-color: white;
    overflow: auto;
}
#homepage_events .article_section_link{
    text-align: right;
    margin-bottom: 1%;
}
#homepage_events p{
    margin: 0;
    font-size: 13px;
}
#homepage_events a{
    background-color: #F2F2F2;
    color: #565656;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #C1C1C1;
    border-radius: 5px;
    padding: 3px 8px;

}
/* END - Homepage Events */

/* Articles */

#site_article{
    margin-top: -15px;
    margin-bottom: 40px;
}
.ie10{
    margin-top: 15px !important;
}
.article_section{
    margin: 3px 0;
}
#content a,
#content p,
#content ul li{
    font-size: 16px;
    /*text-decoration: none;*/
    font-weight: normal;
}
#content .contentheading,
#content .contentpagetitle,
#content h3,
#content .article_title,
#content .componentheading{
    /*margin-top: -15px;*/
    font-size: 19px !important;
    font-weight: bold;
    color: #16546B;
    text-decoration: none;
}
#content .article_title,
#content .componentheading{
    margin-bottom: 15px;
}
#content .article_title{
    /*margin-top: -15px;*/
}
.contentpaneopen p{
    margin-bottom: 10px;
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    padding: 0;
}
#content form a{
    display: block;
}

/* END - Articles */

/* News Article Pagination */

.pagination_wrap{
    text-align: center;
    font-size: 13px;
    margin: 25px 0;
}
.pagination_wrap div{
    display: inline;
    margin: 10px 2px;
}
.pagination_wrap a.pagenav{
    font-size: 13px !important;
    text-decoration: none;
    color: #4E4E4E !important;
    border: 1px solid #E78419;
    border-radius: 5px;
    padding: 2px 4px;
}

/* END - News Article Pagination */

/* Section articles */

.section_title{
    background-color: #16546B;
    background-image: -webkit-gradient(linear, left top, left bottom, from( #16546B ), to( #337188 ));
    background-image: -webkit-linear-gradient( #16546B , #337188 );
    background-image:    -moz-linear-gradient( #16546B , #337188 );
    background-image:     -ms-linear-gradient( #16546B , #337188 ); 
    background-image:      -o-linear-gradient( #16546B , #337188 );
    background-image:         linear-gradient( #16546B , #337188 );
    margin: 0 -15px;
    padding: 10px 0 10px 35px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}
.section_title h3{
    color: white;
    text-shadow: none;
    margin: 0;
}
.section_title_p{
    margin: 1% 0;
}
#homepage_leatest_news{
    width: 95%;
    margin: 1% auto;
    border: 1px solid #969EAD;
}

/* END - Section articles */


/* Responsive Video, Object  ---  promjeniti za pdf (embed)*/

.object_wrap{
    height: 0;
    padding-top: 25px;
    padding-bottom: 67.5%;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}
.object_wrap_embed{
    height: 0;
    padding-top: 25px;
    padding-bottom: 100%;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}
.object_wrap_embed embed,
.object_wrap iframe,
.object_wrap object{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* END - Responsive Video */

/* Footer */

#footer{
    z-index: 999;
    margin: 0;
    padding: 0;
}
#footer_container{
    border-top: 2px solid #E78419;
    border-bottom: 2px solid #E78419;
    background-color: #B5B9C4;
    padding: 15px 10px;
}
.footer_info{
    text-align: center;
    font-size: 12px;
    margin: 0;
    color: #565656;
    text-shadow: none;
    margin-bottom: 15px;
}
.footer_info span{
    display: inline-block;
    padding: 0 5px;
}
.footer_info .span_first{
    border-right: 1px solid white;
}
#footer_links{
    text-align: center;
}
#footer_links a{
    display: inline-block;
    border: 3px solid #848EA4;
}
#desktop_website{
    width: 140px;
}
#footer_top,
#footer_back{
    width: 80px;
}

/* END - Footer */


/* Controls bar */

#controls_bar{
    z-index: 99;
    width: 180px;
    position: fixed;
    bottom: 2%;
    padding: 1% 0 1% 15px;
}
.controls_btn_container{
    width: 80px;
    float: left;
    margin-right: 5px;
} 
#a_controls_btn{
    width: 100%;
    font-size: 11px !important;
}
#a_top_btn{
    display: none;
}

/* END - Controls bar */