﻿* {
    margin: 0;
}

html, body {
    height: 100%
}

body {
    background-color: #393838;
    font-family: 'PT Sans', sans-serif;
    color: white;
}

.outer-wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -80px; /* the bottom margin is the negative value of the footer's height */

}

.body-wrapper {
    width: 960px; 
    margin: auto;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #bd2323;
}

.dark-overlay {
    background-color: #171717;
    background-color: rgba(23,23,23,0.8);
}

#CookiesPolicy {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    color: #dbdada;
    padding: 0 20px 10px 20px;
    z-index: 100;
}

    #CookiesPolicy p {
        margin: 8px 0 0 0;
    }
	
        #CookiesPolicy p.center a:first-child {
	    margin-right: 50px;
        }

.center {
    text-align: center;
}

.logo {
    float: left;
    margin-top: 5px;
    margin-left: -120px;
}

nav {
    font-family: 'PT Sans Narrow', sans-serif;
    height: 80px;
    background-color: #363535;
    border-bottom: 1px solid #757373;
    font-size: 19px;
    margin-bottom: 56px;
}

    nav > div.body-wrapper {
        position: relative;
    }

    nav div.main-menu-link, #GlobeIcon {
        display: inline-block;
        height: 79px;
        border-bottom: 2px solid transparent;
    }

    nav a, #GlobeIcon {
        display: inline-block;
        line-height: 79px;
        vertical-align: middle;
        text-decoration: none;
        padding-left: 18px;
        padding-right: 18px;
    }

        nav div.main-menu-link:hover, nav div.main-menu-link.active, #GlobeIcon:hover {
            border-bottom-color: #bd2323;
            background-color: #444444;
        }

        nav a:hover {
            color: white;
        }

nav .submenu {
    position: absolute;
    height: 55px;
    line-height: 55px;
    vertical-align: middle;
    background-color: #393838;
    border-bottom: none;
    top: 81px;
    left: 0;
    right: 0;
    width: 960px;
    font-size: 17px;
}

    nav .submenu a {
        display: inline-block;
        text-transform: none;
        height: 30px;
        line-height: 30px;
        vertical-align: middle;
        border-bottom: none;
    }

    nav .submenu a:hover, nav .submenu a.active {
        background-color: #bd2323;
        border-bottom: none;
        color: white;

    }

    nav .submenu.active {
        z-index: 0;
    }

    nav .submenu.hover {
        z-index: 10;
    }

#ThirdLevelMenu {
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 15px;
}

    #ThirdLevelMenu a {
        display: inline-block;
        border-bottom: 2px solid transparent;
        margin-right: 20px;
    }

    #ThirdLevelMenu a:hover, #ThirdLevelMenu a.active {
        text-transform: none;
        border-bottom: 2px solid #bd2323;
        color: white;
    }

#GlobeIcon {
    position: relative;
    cursor: pointer;
}

#LanguageBar {
    background-color: #484646;
    height: 17px;
    font-size: 13px;
    font-family: 'PT Sans Narrow', sans-serif;
    line-height: 17px;
    vertical-align: middle;
}

    #LanguageBar a {
        margin-left: 15px;
    }

    #LanguageBar a.active {
        color: #bd2323;
    }

#LanguageMenu {
    background-color: #444444;
    position: absolute;
    right: 0;
    top: 60px;
    padding: 0 10px 10px 10px;
    display: none;
    z-index: 1000;
}

    #LanguageMenu > div {
        line-height: normal;
        height: auto;
    }

    #LanguageMenu a {
        display: inline-block;
        height: auto;
        line-height: normal;
        border-bottom: none;
        padding-left: 0;
        padding-right: 0;
        border-bottom: 2px solid transparent;
        text-transform: lowercase;
    }

        #LanguageMenu a:first-letter {
            font-size: inherit;
        }

        #LanguageMenu a:hover {
            border-bottom: 2px solid #bd2323;
        }

    #LanguageMenu a.active {
        border-bottom: 2px solid #bd2323;
        background-color: transparent;
    }

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.hidden {
    display: none;
}

.italic {
    font-style: italic;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.push {
    height: 80px; /* .push must be the same height as footer */
    margin-top: 15px;
}

footer {
    height: 80px;
    background-color: #363535;
    line-height: 80px;
    vertical-align: middle;
    position: relative;
    font-size: 11px;
}

    footer a {
        text-transform: uppercase;
        text-decoration: none;
        padding-left: 9px;
        padding-right: 9px;
    }

/* ##### MAIN PAGE #### */

#CarouselImages {
    position: relative;
    height: 400px;
}

    #CarouselImages img {
        position: absolute;
        left: 0;
        top: 0;
    }

#CarouselControls {
    margin-top: 5px;
}

a.radio-on {
    background-image: url('Images/radio-on.png');
    background-repeat: no-repeat;
    background-position: center, center;
    width: 14px;
    height: 14px;
    display: inline-block;
}

a.radio-off {
    background-image: url('Images/radio-off.png');
    background-repeat: no-repeat;
    background-position: center, center;
    width: 14px;
    height: 14px;
    display: inline-block;
}

a.radio-off:hover {
    background-image: url('Images/radio-on.png');
}

.controls {
    text-align: center;
}

    .controls a {
        margin: 0 3px 0 3px;
    }

.horizontal-line {
    clear: both;
    width: 90%;
    margin: 10px auto 10px auto;
    height: 1px;
    border-bottom: 2px solid #757373;
}

.date {
    background-color: #bd2323;
    color: white;
    border: none;
    padding: 3px 4px 3px 4px;
}

.news-title {
    font-weight: bold;
    margin-left: 5px;
}

img.news-image {
    float: left;
    margin-right: 15px;
    margin-top: 15px;
}

.float-right {
    float: right;
}

/* ##### END MAIN PAGE #### */


/* ##### PAGES ##### */
h1 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 20px;
    display: inline-block;
    width: 300px;
    border-bottom: 2px solid #757373;
    font-weight: normal;
    margin-bottom: 10px;
    padding-bottom: 4px;
}

    h1 > span {
        padding-bottom: 4px;
        border-bottom: 2px solid #bd2323;
    }

h2 {
    font-size: 20px;
    color: #bd2323;
    font-weight: normal;
}

p {
    margin-top: 10px;
    text-align: justify;
}

ul {
    text-align: justify;
}

ul.no-bullets li {
    list-style: none;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

.label {
    display: inline-block;
    width: 100px;
    text-align: right;
    margin-right: 10px;
}

input[type=submit], input[type=button], .button, button, .controls a {
    background-color: #bd2323;
    color: white;
    border: none;
    padding: 3px 7px 3px 7px;
    display: inline-block;
    cursor: pointer;
}

input[type=text], input[type=password], input[type=email], input[type=file], select, textarea {
    background-color: #444444;
    border: 1px solid #757373;
    color: white;
    padding: 3px 5px 3px 5px;
}

input[type="text"].date
{
    width: 70px;
}

input[type="text"].title
{
    width: 300px;
}

input[type="text"].image-uploader,
input[type="text"].document-uploader {
    margin-right: 15px;
}

a.button:hover, .controls a:hover {
    color: #363535;
}

input[type=button].disabled, .button.disabled, button.disabled, .controls a[disabled=disabled] {
    background-color: #757373;
    color: #363535;
    cursor: default;
}

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute !important;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* support: IE7 */
    *height: 1.7em;
    *top: 0.1em;
}

.custom-combobox-input {
    margin: 0;
    padding: 0.3em;
}

.ui-autocomplete {
    z-index: 1000 !important;
    max-height: 200px;
    overflow: auto;
}

.field-validation-error
{
    background-image: url(themes/base/images/ui-icons_cd0a0a_256x240.png);
    background-position: 0 -144px;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    color: #bd2323;
}

input[type=text], input[type=password], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #757373;
}
 
input[type=text]:focus, input[type=password]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}

.links-list-holder {
    margin: auto auto 15px auto;
    width: 850px;
}

.link-list-item {
    float: left;
    width: 400px;
    max-width: 400px;
    max-height: 480px;
    margin-right: 25px;
    margin-top: 15px;
    font-size: 15px;
}

    .link-list-item h2 {
        font-size: 17px;
        color: #bd2323;
        font-weight: normal;
        margin-bottom: 10px;
    }

    .link-list-item img {
        max-width: 400px;
        border: none;
    }

    .link-list-item .more-button {
        text-align: right;
        font-size: 12px;
    }

/* ##### END PAGES ##### */

/* ##### ADMIN PAGES ##### */

div.ContentDate {
    font-size: 11px;
    margin-bottom: 3px;
}

p.ShortDescription {
    font-size: 13px;
    text-align: justify;
    margin-bottom: 1em;
}

.required:after {
    content: '*';
    color: red;
}

.red {
    color: #bd2323;
}

.tabs-left { 
    background: transparent !important;
    border: 0 !important;
    margin-top: 15px;
}

    .tabs-left .ui-tabs-nav {
        float: left;
        width: 120px;
        background: transparent !important;
        border: 0;
    }

        .tabs-left .ui-tabs-nav li {
            clear: left;
            width: 100%;
            border-bottom-width: 1px !important;
            border-right-width: 0 !important;
            margin: 0 -1px .2em 0;
        }

            .tabs-left .ui-tabs-nav li a {
                display: block;
            }

            .tabs-left .ui-tabs-nav li.ui-tabs-active {
                padding-bottom: 0;
                padding-right: .1em;
                border-right-width: 1px;
            }

    .tabs-left .ui-tabs-panel {
        float: right;
        width: 796px;
        border-left: 1px solid #757373 !important;
        padding: 0 15px 15px 15px !important;
    }
        .tabs-left .ui-tabs-panel.menu-item-edit {
            float: right;
            width: 404px;
            height: 230px;
            border-left: 1px solid #757373 !important;
            padding: 0 15px 15px 15px !important;
        }

.small-tabs.tabs-left .ui-tabs-panel {
    width: 250px;
}

#PageEdit textarea, #NewsEdit textarea {
    width: 100%;
    min-height: 400px;
    height: 400px;
}

.submit {
    text-align: right;
}

.context_help
{
    /* inherited from ui-icon */
    text-indent: -99999px;
    background-repeat: no-repeat;
    overflow: hidden;
    display: inline-block;
    height: 16px;
    background-image: url(themes/base/images/ui-icons_cd0a0a_256x240.png);
    /* inherited from ui-icon-info */
    background-position: -16px -144px;
    /* general */
    margin-left: 0.2em;
    width: 16px;
}

.toolbar {
    margin-bottom: 15px;
}

#dialog-edit-link .tabs-left .ui-tabs-panel {
        width: 703px;
    }

.link-preview {
    float: left;
    margin: 10px;
    height: 110px;
    position: relative;
}
    .link-preview span.field-validation-error {
        display: block;
        margin: auto;
    }

    .link-preview .delete-link {
        position: absolute;
        width: 15px;
        height: 15px;
        text-align: center;
        background-color: #bd2323;
        top: 0;
        right: 0;
        line-height: 15px;
    }

        .link-preview .delete-link a {
            font-size: 10px;
            color: white;
        }

        .link-preview .delete-link a:hover {
            text-decoration: none;
            font-weight: bold;
        }

    .link-preview img {
        max-width: 125px;
        max-height: 110px;
        border: 1px solid #bd2323;
    }

.light-background-box {
    background-color: #444444;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

div.UploadImageWrapper {
    margin-bottom: 15px;
}

#tblImages, #tblDocuments, tblFiles {
    width: 100%;
    position: relative;
}

img.thumb-preview {
    max-width: 200px;
    max-height: 100px;
}
/* ##### END ADMIN PAGES ##### */