﻿/* Sharepoint reset
-------------------------------------------------------------- */
.ms-webpartzone-cell {
    margin: 0;
}

#s4-bodyContainer {
    padding-bottom: 0;
}

.flag_image_container .ms-fullWidth > div {
    display: block;
}

/* General
-------------------------------------------------------------- */
html, body {
    width: 100%;
}

body {
    font-family: 'Georgia','Times new roman' !important;
    background: #eee;
    color: #000;
    font-size: 15px;
}

ol,
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a:focus {
    outline: none;
}

a:hover {
    text-decoration: none;
    color: #23527c;
}

a:active,
a:visited,
a:focus {
    text-decoration: none;
    color: #2c73bd;
}

.hidden {
    display: none !important;
}

/* Top menu
-------------------------------------------------------------- */
/*** Top navigation ***/
.nav-top {
    background: #e5e7e9;
    text-align: right;
    padding: 5px 4% 5px 0;
}

.nav-top ul {
    width: 100%;
    margin: auto;
}

.nav-top ul > li > a.lang {
    background: transparent;
    color: #0c3f74;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    font-weight: 300;
}

.nav-top ul > li > a.cr {
    margin-right: 10px;
}

.caret-right {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-left: 4px solid #0c3f74;
}

.caret-left {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-right: 4px solid #0c3f74;
}

.main_nav {
    position: relative;
    background: #0c3f74;
    z-index: 99;
    -webkit-box-shadow: 0px 9px 20px -4px #1c1a3c;
    box-shadow: 0px 9px 20px -4px #1c1a3c;
    background-image: url(../img/Zastava.png);
    background-repeat: no-repeat;
    background-size: 500px 125px;
}

/*** Site heading ***/
.top_menu_main_heading {
    padding: 0 0 0 110px;
    max-width: 200px;
    text-align: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    top: 25px;
}

.top_menu_main_heading span {
    color: #fff;
    font-size: 18px;
}

/*** Site Logo ***/
.top_menu_logo {
    margin-left: 35px;
    height: 0;
}

.top_menu_logo img {
    position: absolute;
    width: 65px;
    top: 15px;
    z-index: 99;
    max-height: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*** Main navigation ***/
.main_menu_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0 3%;
}

.navbar-default {
    background: transparent;
    border: none;
    margin: 0;
}

.navbar-default .navbar-toggle {
    margin-right: 0;
    min-width: auto;
    border-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #0c3f74;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-collapse {
    border: none;
    padding: 0;
    box-shadow: none;
}

.nav.navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

#myNavbar ul.ms-core-listMenu-root > li > a {
    color: #fff;
    height: 50px;
    line-height: 45px;
    padding: 0 10px;
    margin-right: 0;
    font-size: 13px;
    font-weight: normal;
}

#myNavbar ul.ms-core-listMenu-root > li > a:hover {
    border-bottom: 1px solid #fff;
    -webkit-transition: all .10s linear;
    -o-transition: all .10s linear;
    transition: all .10s linear;
}

#myNavbar ul.ms-core-listMenu-root > li > a.dynamic-children:hover {		
    border-bottom: none;		
}

#myNavbar ul.dynamic {
    position: absolute;
    left: -9999px !important;
    top: 65px;
    min-width: 250px;
    width: auto !important;
    opacity: 0;
    padding: 0;
    border: none;
    z-index: 100;
    text-align: left;
    background: rgb(255, 255, 255);
    border-bottom: 2px solid #0c3f74;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

#myNavbar ul.dynamic span.menu-item-text {
    display: inline-block;
    white-space: normal;
}
    
#myNavbar li.dynamic-children.hover ul {
    display: block;
    left: 0 !important;
    top: 50px !important;
    opacity: 1;
}

#myNavbar ul.dynamic li a {
    color: #0c3f74;
    font-size: 13px;
    padding: 6px 10px;
    white-space: normal;
    font-weight: 400;
    border-bottom: 1px dashed #d9d9d9;
}

#myNavbar ul.dynamic li:last-of-type a {
   border-bottom: none; 
}

#myNavbar ul.dynamic li a:hover {
    background: #a0c7f0;
    color: #fff;
}

.ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
    background-image: none;
    padding-right: 0;
}

.caret_container {
    display: none;
}

.search_icon_container {
    color: #fff;
    font-size: 20px;
    margin-left: 20px;
    height: 50px;
    line-height: 45px;
    cursor: pointer;
}

#search_panel {
    display: none;
    background: #e5e7e9;
    padding: 15px 0;
    text-align: center;
}

#search_panel .ms-srch-sb-border {
    border: 1px solid transparent;
}

#search_panel #SearchBox input {
    background: #ffffff;
    color: #000;
    width: 700px;
    height: 35px;
    line-height: 35px;
    margin: 0;
    padding: 0 10px;
    font-weight: 300;
    border: 1px solid #747474;
}

#search_panel #SearchBox input:focus {
    border: 1px solid #747474;
}

#search_panel .ms-srch-sb > .ms-srch-sb-searchLink {
    background: #c63742;
    color: #fff;
    height: 35px;
    line-height: 30px;
    width: 80px;
    margin-left: 0px;
    border: 1px solid transparent;
}

#search_panel .ms-srch-sb-searchImg {
    display: none;
}

#search_panel .ms-srch-sb-border:hover {
    border: 1px solid transparent;
}

#search_panel .ms-srch-sb-borderFocused {
    border: 1px solid transparent;
}

/* Search Box
-------------------------------------------------------------- */
.search_box_container {
    background: #c2c2c2;
    text-align: center;
    padding: 20px 0;
}

.search_box_container #SearchBox input {
    background: #ffffff;
    color: #000;
    width: 400px;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0 10px;
    font-weight: 300;
    border: 1px solid #747474;
}

.search_box_container #SearchBox input:focus {
    border: 1px solid #747474;
}

.search_box_container .ms-srch-sb > .ms-srch-sb-searchLink {
    background: #c63742;
    height: 40px;
    line-height: 35px;
    width: 70px;
    margin-left: 0px;
    border: 1px solid transparent;
}

.search_box_container .ms-srch-sb-searchImg {
    position: static;
    width: 24px;
}

.search_box_container .ms-srch-sb-border:hover {
    border: 1px solid transparent;
}

.search_box_container .ms-srch-sb-borderFocused {
    border: 1px solid transparent;
}

/* Court image
-------------------------------------------------------------- */
.court_image {
    text-align: center;
    padding: 20px 0;
}

.court_image img {
    max-height: 60px;
}

/* Footer
-------------------------------------------------------------- */
.footerControl {
    background: #0d305b;
    color: #fff;
    padding: 20px 5%;
}

.footerControl .footerCopy {
    width: 50%;
    float: left;
    text-align: left;
}

.footerControl .footerCopy p {
    margin: 0;
}

.contactEmail {
    width: 50%;
    float: left;
    text-align: right;
}

.contactEmail a {
    color: #fff;
    font-size: 14px;
}

.contactEmail .contactEmailIcon {
    display: inline-block;
    margin-right: 7px;
}

/* Layots
-------------------------------------------------------------- */
.bannerUsefulLinksControl {
    background: #0D305B;
    border-top: 10px solid #d93a43;
}

.right-search-control .ms-promlink-button {
    width: 25px;
    height: 25px;
}

.page_content {
    margin-top: 25px;
}

/* Breadcrumb
-------------------------------------------------------------- */
.breadcrumb {
    padding: 0 15px 8px 0;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
}

.breadcrumb li a {
    color: #0c3f74
}

.breadcrumb li a:visited {
    color: #0c3f74
}

/* Responsive
-------------------------------------------------------------- */
@media (max-width: 850px) {
    #myNavbar ul.ms-core-listMenu-root > li > a {
        padding: 0 5px;
        font-size: 12px;
    }
}

@media (max-width: 850px) {
    #search_panel #SearchBox input {
        width: 400px;
    }
    #search_panel .ms-srch-sb > .ms-srch-sb-searchLink {
        width: 70px;
    }
}

@media (max-width: 767px) {
    .main_menu_container {
        width: 100%;
        padding: 0;
        right: 0;
    }
    .navbar.navbar-default {
        width: 100%;
        text-align: center;
    }
    .navbar-header {
        padding: 0 5%;
    }
    #myNavbar.navbar-collapse {
        background: #0c3f74;
        padding: 0 15px;
        overflow-y: hidden;
    }
    .nav.navbar-nav {
        display: block;
        margin-bottom: 0;
    }
    .ms-core-listMenu-horizontalBox {
        width: 100%;
    }
    .nav.navbar-nav ul {
        width: 100%;
    }
    .nav.navbar-nav ul li {
        display: block;
        border-bottom: 1px solid #ccc;
    }
    #myNavbar ul.ms-core-listMenu-root > li > a {
        display: block;
        height: 45px;
        line-height: 45px;
        position: relative;
        padding: 0;
        font-size: 14px;
    }
    #myNavbar ul.ms-core-listMenu-root > li > a:hover {
        border-bottom: none;
    }
    #myNavbar ul li:last-of-type {
        border-bottom: none;
    }
    #myNavbar .caret_container {
        position: absolute;
        display: inline-block;
        right: 0;
        width: 59px;
        text-align: center;
        font-size: 18px;
        -moz-transition: all 0.2s linear;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }
    #myNavbar .caret_container.down {
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    #myNavbar ul.dynamic {
        width: 100% !important;
        border-bottom: none;
    }
    .subNav {
        position: initial !important;
        background: #a0c7f0 !important;
        opacity: 1 !important;
        visibility: visible;
        width: 100% !important;
        text-align: center !important;
    }
    #myNavbar ul.dynamic li {
        border-bottom: 1px solid #0c3f74;
    }
    #myNavbar ul.dynamic li:last-of-type {
        border-bottom: none;
    }
    #myNavbar ul.dynamic li a {
        border-bottom: none;
    }
    #myNavbar ul.dynamic li a:hover {
        color: #0c3f74;
    }
    #myNavbar li.dynamic-children:hover ul {
        left: -9999px !important;
    }
    .search_icon_container {
        margin-left: 0;
        border-top: 1px solid #ccc;
    }
    .footerControl .footerCopy p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .footerControl .footerCopy {
        width: 100%;
        float: none;
        text-align: left;
    }
    .contactEmail {
        width: 100%;
        float: none;
        text-align: left;
        margin-top: 15px;
    }
}

@media (max-width: 500px) {
    #search_panel #SearchBox input {
        width: 250px;
    }
    .search_box_container #SearchBox input {
        width: 240px;
        height: 35px;
        line-height: 35px;
    }
    .search_box_container .ms-srch-sb > .ms-srch-sb-searchLink {
        width: 50px;
        height: 35px;
        line-height: 30px;
    }
    .court_image img {
        max-height: 35px;
    }
}

@media (max-width: 380px) {
    .top_menu_main_heading {
        padding: 0 0 0 100px;
    }
    .top_menu_logo {
        margin-left: 20px;
    }
    .main_nav {
        /*background-size: 300px 110px;*/
    }
    #search_panel #SearchBox input {
        width: 200px;
    }
}

