/* IDENTIFIERS*/

#add-button {
    font-size: 0.85em;
    padding: 5px;
}

#content {
    text-align: justify;
}

#content h3, h4 {
    text-align: left;
}

#content h4 {
    font-weight: 100;
}

#content h4.bold {
    font-weight: bold;
}

#eduroam_logo {
    background-image: url(../images/eduroam_logo.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #888888;
    float: left;
    margin-top: 20px;
    min-height: 50px;
}

#footericon {
    background-image: url(../images/AAI_logo2.png);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    min-height: 25px;
}

#home_menu * {
    text-align: center;
}

#home_menu div {
    background: #fbfbfb;
    border: none;
}

#home_menu div:hover {
    background: #FFFFFF;
}

#home_menu div.active {
    background: #f2f2f2;
    border: solid 1px #e6e6e6;
    border-bottom: solid 1px #F2F2F2;
    border-top: solid 2px #02698F
}

#infoForm .button {
    margin: 10px 0px;
}

#infoModal > label {
    float: left;
    margin-right: 0.3em;
}

#lang {
    float: right;
    position: relative;
    right: 1px;
    top: 1px;
}

#languages {
    float: right;
}

#logo_header {
    margin-top: 1.8em;
    min-height: 4em;
}

#logo_header div {
    background: #ffffff;
    display: none;
}

#logo_header h4 {
    float: left;
    height: 3.6em;
    margin: 0;
    max-width: 65%;
    padding: 0;
}

#logo_header h5 {
    float: left;
    height: 3.6em;
    margin: 0;
    max-width: 65%;
    padding: 0;
}

#logo_header img {
    float: right;
    margin-top: 0.1em;
    max-height: 3.8em;
    max-width: 35%;
}

#logo_header.orbit {
    height: auto;
}

#logo_header.orbit div {
    display: block;
}

#map_list, #map_menu_info, #map_menu_newform, #map_menu_form {
    overflow: auto;
}

#map_menu {
    margin-bottom: 0px;
    padding: 10px 5px;
}

#map_menu_info .button {
    margin: 10px 0px;
}

#map_menu_info h6 {
    font-weight: 400;
    margin: 0;
}

#map_menu_info td {
    font-family: 'Open Sans';
    vertical-align: middle;
}

#newForm .button {
    margin: 10px 0px;
}

#resource_form_div {
    display: none;
}

#srce_logo {
    background-image: url(../images/srce_logo.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #888888;
    float: left;
    margin-top: 20px;
    min-height: 50px;
}

#user_and_lang > div {
    margin: 1em 0;
}

#wrapper {
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.50);
    margin: 20px auto;
    max-width: 950px;
    moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.50);
    webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.50);
}

/* CLASSES */
table.tablesorter thead tr th {
    padding-right: 20px;

}

table.tablesorter thead tr .header {
    background-image: url(../images/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
    background-image: url(../images/asc.gif);
}

table.tablesorter thead tr .headerSortDown {
    background-image: url(../images/desc.gif);
}

table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    background-color: #8dbdd8;
}

.panel.home_menu {
    border-top: none
}

.status_icon_fail_cn {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/fail_cn.png) no-repeat center center;
}

.status_icon_fail_expired {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/fail_expired.png) no-repeat center center;
}

.status_icon_fail_na {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/fail_na.png) no-repeat center center;
}

.status_icon_generate {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/generate.png) no-repeat center center;
}

.status_icon_ok {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/ok.png) no-repeat center center;
}

.status_icon_fail_other {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/fail_other.png) no-repeat center center;
}

.status_icon_warning {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/warning.png) no-repeat center center;
}

.status_icon_win8 {
    min-height: 36px;
    min-width: 36px;
    background: url(../images/inst_status/win8.png) no-repeat center center;
}

.button {
    font-family: "Open Sans", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.grey {
    color: #4D4D4D;
}

.loc_list_item {
    clear: left;
    float: left;
    text-align: left;
}

.thin {
    font-weight: 100;
}

.tooltip {
    margin: 0;
}

form.custom div.custom.dropdown ul {
    max-height: 292px;
}

.error_desc {
    font-size: 0.8em;
    font-weight: normal;
    font-family: Terminus,Consolas,Profont,"Andale Mono",Monaco,Inconsolata,Inconsolata-g,
    Unifont,Lime,"ClearlyU PUA",Clean,"DejaVu Sans Mono","Lucida Console",
    "Bitstream Vera Sans Mono",Freemono,"Liberation Mono",Dina,Anka,Droid Sans Mono,
    Anonymous Pro,Proggy fonts,Envy Code R,Gamow,Courier,"Courier New",Terminal,monospace;
    padding-right: 5px;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 320px) {
    #eduroam_logo {
        margin-top: 20px;
        max-height: 30px;
        min-height: 30px;
    }

    #map_canvas {
        max-height: 440px;
    }

    #srce_logo {
        margin-top: 20px;
        max-height: 30px;
        min-height: 30px;
    }

    #wrapper {
        border-radius: 0;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.50);
        margin: 0;
        max-width: 980px;
        moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0.50);
        webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.50);
    }

    dl.tabs {
        height: 60px;
    }

    dl.tabs.three-up a {
        height: 60px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 540px) and (orientation: landscape) {
    #map_canvas {
        max-height: 275px;
    }

    #wrapper {
        border-radius: 0;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.50);
        margin: 0;
        max-width: 980px;
        moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0.50);
        webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.50);
    }

    dl.tabs > dd > a {
        line-height: 1.4;
    }
}

/*Inverse logic because of stupid IE8, so the element is first hidden, then displayed if the screen width is above 940px*/
.hide-menu-name {
    display: none;
}

@media screen and (max-width: 940px) {
    .hide-menu-name {
        display: inherit !important;
    }
}

/* HTML ELEMENTS */

a {
    color: #3D739B;
}

a.social i.foundicon-facebook {
    color: #3B5998;
    font-size: 20px;
}

a.social i.foundicon-google-plus {
    color: #D44A2D;
    font-size: 20px;
}

a.social i.foundicon-twitter {
    color: #00ACED;
    font-size: 20px;
}

a.social:hover {
    position: relative;
    top: -3px;
}

a:hover {
    color: #759CBC;
}

body {
    background: #F2F2F2 url(../images/grain.png) 0 0 repeat;
    font-family: "Open Sans", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

div.orbit-wrapper div.timer {
    visibility: hidden;
}

footer a {
    max-width: 39px;
    min-width: 36px;
}

footer hr {
    margin-top: 0px;
}

form.custom div.custom.dropdown li {
    overflow: hidden;
    text-overflow: ellipsis;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #02698F;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

h4.edit, h5.edit {
    color: #9E0B0E;
}

h4.info {
    color: #FF9900;
}

h4.new {
    color: #358835;
}

h5.failure {
    color: #9E0B0E;
    line-height: 200%;
}

h5.success {
    color: #358835;
    line-height: 200%;
}

header hr {
    margin-top: 5px;
}

label {
    font-family: 'Open Sans';
    font-size: 0.95em;
    font-weight: bold;
}

p {
    font-family: "Open Sans", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
    text-align: left;
}

ul.accordion li .title > h6 {
    margin: 3px 0;
    padding-right: 30px;
    text-align: left;
}

.top-bar {
    margin-bottom: 15px;
}

.top-bar ul > li a:not(.button) {
    font-size: 14px;
    font-weight: 700;
}

/*
 //<nav>
 .top-bar, .top-bar *, ul.dropdown { background: #4D4D4D;}
 .top-bar ul > li:not(.name):hover a, .top-bar ul > li:not(.name).active a, .top-bar ul > li:not(.name):focus a { color: #FFFFFF; }
 // First level background override, active and hover styling
 .top-bar ul > li.has-dropdown > ul.dropdown , .top-bar > section > ul > li.has-dropdown > ul.dropdown * {background:#4D4D4D;}
 .top-bar section > ul > li.active > a, .top-bar ul > li.has-dropdown.active > a {background: #02698F;}
 .top-bar ul > li.has-dropdown > a:hover {background: #3C3C3C; color:white}

 .top-bar ul > li.has-dropdown.active:not(.moved) .dropdown li.active a { color: #02698F; }
 .top-bar ul > li.has-dropdown:not(.moved) > ul.dropdown > li > a:hover { background: #ebebeb; color: #333; }

 // Mobile style
 .top-bar.expanded ul li.toggle-topbar a { border-color: transparent transparent #FFFFFF transparent; }
 .top-bar ul > li.has-dropdown.moved .dropdown li.active a { background: #02698F; }
 .top-bar ul > li.has-dropdown.moved > .dropdown li.divider { margin-top: 0px !important; margin-bottom: 0px !important; }
 .top-bar ul > li.has-dropdown > .dropdown .divider, .top-bar ul > li.has-dropdown.moved > .dropdown li { margin-top: 0px !important; margin-bottom: 0px !important; }
 .top-bar.expanded > section > ul > li.has-dropdown.moved > ul.dropdown > li > h5 > a {font-size:18px;}

 .top-bar ul > li.has-dropdown .dropdown { padding: 0px; }
 .top-bar ul > li.has-dropdown .dropdown li { padding-bottom: 0px; font-weight:700; }
 .top-bar ul > li.has-dropdown:not(.moved) .dropdown li a { font-weight:700;  padding: 0px 17px 0px 15px; line-height: 45px; background: #f2f2f2; color: #555; border: 1px solid #e6e6e6; border-width: 1px 1px 0 0; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7); -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);}
 .top-bar ul > li.has-dropdown .dropdown li:last-child { padding-bottom: 0px; }
 .top-bar ul > li.has-dropdown .dropdown li.divider { height: 1px; }
 */

.top-bar {
    background: #4D4D4D;
}

/*First level bar element style*/
.top-bar:not(.expanded) ul > li.has-dropdown > a {
    cursor: default;
}

.top-bar ul.left > li > a, .top-bar ul > li.has-dropdown > a {
    color: #e6e6e6;
}

.top-bar ul.left > li {
    border-right: 1px solid #333
}

.top-bar ul > li:not(.name):hover, .top-bar ul > li.name:hover {
    background: #333;
}

/*First level bar selected element style*/
.top-bar ul.left > li:not(.name).active > a, .top-bar ul > li:not(.name):focus > a {
    color: white;
    background: #02698F;
}

/*Second level bar element style*/
.top-bar ul > li.has-dropdown > ul.dropdown {
    height: auto;
    border: 1px solid #999;
    border-width: 0px 1px 1px 1px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.top-bar ul > li.has-dropdown .dropdown li a {
    color: #555;
    font-weight: 700;
    line-height: 40px;
    margin: 0px;
    padding: 0px 17px 0px 15px;
}

.top-bar ul > li.has-dropdown .dropdown, .top-bar ul > li.has-dropdown .dropdown li {
    background: #ebebeb;
}

.top-bar ul > li.has-dropdown .dropdown li a:hover, .top-bar ul > li.has-dropdown .dropdown li a:focus {
    background: #f2f2f2;
    color: #333;
}

.top-bar ul > li.has-dropdown .dropdown li, .top-bar ul > li.has-dropdown .dropdown li:last-child {
    padding-bottom: 0px;
}

.top-bar ul > li.has-dropdown .dropdown li {
    border-bottom: 1px solid #e6e6e6;
}

.top-bar ul > li.has-dropdown:not(.moved) .dropdown li:last-child {
    border-bottom: none;
}

/*Second level bar selected element style*/
.top-bar ul > li.has-dropdown .dropdown li.active a {
    background: #f2f2f2;
    color: #02698F;
}

/*Mobile bar style*/
.top-bar ul.left > li.has-dropdown.moved > ul.dropdown > li > h5 > a {
    font-size: 18px;
}

.top-bar ul > li.has-dropdown.moved .dropdown li a {
    line-height: 1;
}

.top-bar ul > li.has-dropdown.moved > .dropdown li a:hover {
    background: #ebebeb;
    display: block;
}

.top-bar ul > li.has-dropdown.moved .back.title a:before {
    position: absolute;
    top: 50%;
    left: 17.5px;
    margin-top: -5px;
    width: 0;
    height: 0;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: solid 5px;
    border-color: transparent #555 transparent transparent;
}