/* ==============================================
   Defibaed HR - WordPress tema dodatni CSS
   Smart Beez | www.smartbeez.hr
   ============================================== */

/* Layout helperi */
.rl_col2_wrap { overflow: hidden; }
.rl_col2_wrap .rl_left { float: left; width: 50%; box-sizing: border-box; }
.rl_col2_wrap .rl_right { float: right; width: 50%; box-sizing: border-box; }
.rl_col2_wrap::after { content: ""; display: table; clear: both; }

/* Homepage */
#home { margin: 0 auto; box-sizing: border-box; }

.home_main_banner { display: block; }
@media (max-width: 1024px) { .home_main_banner { display: none; } }

.home_features_wrap .rl_col2_wrap .rl_left { width: 29%; }
.home_features_wrap .rl_col2_wrap .rl_right { width: 69%; }

.home_videos .rl_left,
.home_videos .rl_right { padding: 10px; }

/* Kontakt forma */
#inquiry_form { margin-top: 60px; }
#inquiry_form h3 {
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    color: #353535;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}
#inquiry_form h3:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: #e21a36;
}
#contact_form { width: 80%; margin: 0 auto; }
#contact_form .form_half { width: 47%; float: left; }
#contact_form .form_half:nth-of-type(2n+1) { margin-right: 2.5%; }
#contact_form .form_half:nth-of-type(2n) { margin-left: 2.5%; }
#contact_form input,
#contact_form textarea {
    background: #ececec;
    font-family: 'Open Sans', sans-serif;
    color: black;
    margin-bottom: 20px;
    border: 0;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
}
#contact_form textarea { min-height: 150px; }
#contact_form::after { content: ""; display: table; clear: both; }

.form_success {
    display: none;
    background: #59a80f;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 15px;
}
.form_error {
    display: none;
    background: #e21a36;
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* Navigacija mobilna */
#header_menu_mobile { display: none; }
#hamburger { display: none; }
#header_menu_mobile ul { list-style-type: none; padding: 0; margin: 0; }
#header_menu_mobile li {
    margin-bottom: 10px;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #bebebe;
}
#header_menu_mobile li a { color: black; text-decoration: none; display: block; padding: 5px 0; }
.header_menu2 { display: none; padding-left: 15px; }
.header_menu2 li { font-size: 15px !important; border-bottom: none !important; }
.header_menu2 li a { color: black !important; }
.expand_second { cursor: pointer; position: relative; }

/* Blog */
.single_news { cursor: pointer; }
.single_news:hover .single_news_cover { opacity: 0.9; }

/* Page content */
.page_content { padding-top: 40px; }
.page_body p { margin-bottom: 20px; line-height: 1.8; }
.page_body h2 { margin-bottom: 20px; margin-top: 30px; }
.page_body ul { margin-left: 20px; margin-bottom: 20px; }
.page_body img { max-width: 100%; height: auto; }

/* Galerija */
.single_gallery {
    width: 22%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 1.5%;
    float: left;
    position: relative;
}
.single_gallery a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Responsive */
@media (max-width: 1024px) {
    #header_menu { display: none; }
    #hamburger { display: block; }
}

@media (max-width: 768px) {
    .rl_col2_wrap .rl_left,
    .rl_col2_wrap .rl_right { float: none; width: 100%; }
    .home_features_wrap .rl_col2_wrap .rl_left,
    .home_features_wrap .rl_col2_wrap .rl_right { float: none; width: 100%; }
    #contact_form { width: 100%; }
    #contact_form .form_half { width: 100%; float: none; margin: 0 !important; }
    .single_gallery { width: 47%; }
    .single_news { width: 100%; }
    .home_value_section > div { float: none !important; width: 100% !important; padding-right: 0 !important; }
}
