/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */


/* fonts */


/* montserrat-regular - latin */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: local('Montserrat Regular'), local('Montserrat-Regular'), url('../fonts/montserrat-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/montserrat-v14-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* montserrat-600 - latin */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url('../fonts/montserrat-v14-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/montserrat-v14-latin-600.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* montserrat-800 - latin */

@font-face {
    font-family: 'Montserrat ExtraBold';
    font-style: normal;
    font-weight: 800;
    src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'), url('../fonts/montserrat-v14-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/montserrat-v14-latin-800.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* =================================================================
$caps-xxl: 'Montserrat ExtraBold' 39px / 46 ZAB, ALLCAPS
$caps-xl: 'Montserrat ExtraBold' 28px / 34 ZAB, ALLCAPS
$caps-l: 'Montserrat ExtraBold' 24px / 30 ZAB, ALLCAPS
$caps-m: 'Montserrat ExtraBold' 20px / 24 ZAB, ALLCAPS
$caps-s: 'Montserrat ExtraBold' 16px / 19 ZAB, ALLCAPS
$caps-xs: 'Montserrat ExtraBold' 14px / 16 ZAB, ALLCAPS
$font-m: 'Montserrat SemiBold' 18px / 24 ZAB

*/


/* colors 
$red #ff3750
$blue #193764
*/


/* #95 Add numbers to Preferred Residence Location */

.field--name-field-pref-residency-location .field--items .field--item:nth-child(1)::before {
    content: " 1: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(2)::before {
    content: " 2: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(3)::before {
    content: " 3: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(4)::before {
    content: " 4: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(5)::before {
    content: " 5: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(6)::before {
    content: " 6: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(7)::before {
    content: " 7: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(8)::before {
    content: " 8: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(9)::before {
    content: " 9: ";
}

.field--name-field-pref-residency-location .field--items .field--item:nth-child(10)::before {
    content: "10: ";
}

img {
    max-width: 100%;
    height: auto;
}

header *,
.main-container *,
footer * {
    color: #193764 !important;
    /* todo: restrict and remove important */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat ExtraBold', sans-serif !important;
}

.site-name {
    font-family: 'Montserrat ExtraBold', sans-serif !important;
    font-size: 39px;
    line-height: 46px;
    text-transform: uppercase;
}

h1,
h2,
h1 span,
h2 span {
    font-family: 'Montserrat ExtraBold', sans-serif !important;
    font-size: 24px;
    line-height: 30px;
    font-weight: 800 !important;
    text-transform: uppercase;
}

h1 span,
h2 span {
    display: inline-block;
}

a:hover,
a:focus {
    color: #ff3750 !important;
}

.main-container h2 a {
    font-family: 'Montserrat ExtraBold', sans-serif !important;
    font-size: 24px;
    line-height: 30px;
    font-weight: 800 !important;
}

.region-sidebar-first h2,
.region-sidebar-first h3,
.region-sidebar-second h2,
.region-sidebar-second h3 {
    font-family: 'Montserrat ExtraBold', sans-serif !important;
    font-weight: 800 !important;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
}

.menu--main li a {
    font-family: 'Montserrat ExtraBold', sans-serif;
    font-weight: 800 !important;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
}

.menu--main li.last {
    float: right;
    text-align: right;
}

header .links li a {
    font-family: 'Montserrat ExtraBold', sans-serif;
    font-weight: 800 !important;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
}

.main-container p,
.main-container li,
.main-container a,
footer p,
footer li,
footer a,
header p,
header li,
header a,
.path-locations .view-header {
    font-size: 18px;
    line-height: 24px;
}


/* accordions */

#block-info {
    background: #fff;
    padding-right: 10px;
}

summary {
    border-bottom: 2px solid #ff3750;
    margin-right: 20px;
    cursor: pointer;
}

#block-emare-views-block-locations-block-1-2 h2 {
    border-bottom: 2px solid #ff3750;
    margin-right: 20px;
}

summary h3 {
    margin: 0;
}

details {
    margin-bottom: 70px;
    position: relative;
    background: #fff;
}

details ul,
details p,
#block-emare-views-block-locations-block-1-2 ul {
    margin-top: 20px;
}

#block-emare-views-block-locations-block-1-2 ul {
    margin-bottom: 20px;
}

details li::marker,
#block-emare-views-block-locations-block-1-2 li::marker {
    color: #ff3750;
}

details li,
#block-emare-views-block-locations-block-1-2 li {
    margin-bottom: 10px;
}

summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: "";
    width: 12px;
    height: 12px;
    background: url(../images/triangle_down.svg) no-repeat center center;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 4px;
}

details[open] summary::before {
    background-image: url(../images/triangle_up.svg);
    top: auto;
    bottom: -20px;
}


/* layout */

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
    padding: 0 20px;
}

@media all and (min-width: 768px) {
    .region-sidebar-first {
        max-width: 400px;
    }
    .region-sidebar-second {
        max-width: 400px;
        float: right;
        padding: 10px;
        border-radius: 0;
    }
    .user-logged-in .region-sidebar-second {
        background: #fff !important;
    }
    .col-sm-9 .region-content {
        max-width: 700px;
        margin: 0 auto;
    }
    .main-container,
    .navbar,
    .footer {
        max-width: 1740px;
        margin: 0 auto;
    }
    .main-container {
        padding-top: 60px;
    }
}

.navbar-default,
.nav>li>a:hover,
.nav>li>a:focus {
    background: transparent;
}

#block-logoanimation a {
    display: block;
    width: 140px;
    height: 140px;
}

@media all and (max-width: 768px) {
    #block-logoanimation a {
        width: 90px;
        height: 90px;
    }
    .navbar-nav.menu--main {
        margin-left: 10px;
    }
    .navbar-nav.menu--main li.last {
        float: none;
        text-align: left;
        margin-left: -4px;
    }
    #block-emare-main-menu-menu {
        padding-left: 10px;
    }
    #block-emare-deadline-2 {
        margin-left: 10px;
        margin-top: 20px;
    }
    #block-emare-deadline-2 .field--name-body {
        padding-left: 0;
    }
    .menu--main.nav>li,
    .menu--main.nav>a {
        display: inline-block;
    }
}

@media all and (min-width: 768px) {
    body {
        margin-top: 70px;
    }
    #block-logoanimation {
        margin-top: -53px;
    }
    #block-logoanimation,
    #block-logosachsenanhalt {
        width: 25%;
        width: calc(25% + 10px);
        float: left;
    }
    .navbar-header .field,
    #block-logosachsenanhalt .field {
        max-width: 400px;
    }
    #block-emare-main-menu,
    #block-emare-account-menu,
    #block-emare-footer {
        width: 50%;
        width: calc(50% - 20px);
        float: left
    }
    #block-emare-footer {
        width: calc(30% - 20px);
    }
    #block-emare-main-menu ul,
    #block-emare-account-menu ul,
    #block-emare-footer ul {
        max-width: 700px;
        margin: 0 auto;
    }
    #block-emare-eulogo-2 {
        float: left;
        padding: 0 20px;
        text-align: right;
        width: 45%;
    }
    #block-emare-deadline-2 {
        position: absolute;
        top: -7px;
        right: 20px;
        text-align: right;
        max-width: 300px;
        padding: 10px;
    }
    .menu--main {
        float: none;
    }
    #block-emare-account-menu {
        float: left;
    }
}

.navbar-header {
    float: none;
}

.well {
    background: none;
    box-shadow: none;
}

.navbar-default,
.well,
.page-header {
    border: none;
}


/* header */

#block-emare-main-menu-menu {
    font-size: 28px;
    line-height: 34px;
    border-bottom: 2px solid #ff3750;
    padding-bottom: 3px;
    max-width: 700px;
    margin: 0 auto;
}

.menu--main>li>a {
    margin: 15px 40px 0 0;
    padding: 0 0 0 4px;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    border-left: 2px solid #ff3750;
}

.menu--main>li.last>a {
    margin-right: 0;
    border-left: none;
}

.menu--main>li.last>a:before {
    content: "> ";
    color: #ff3750;
}

.user-logged-in .menu--main li[data-drupal-link-system-path="user/login"] a {
    display: none;
}

@media (min-width: 768px) {
    .menu--account.navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    background: none;
    color: #ff3750 !important;
}

#block-emare-footer li {
    display: inline-block;
}

#block-emare-footer a:hover,
#block-emare-footer a:focus,
#block-emare-footer .active a {
    color: #ff3750 !important;
}

#block-emare-footer a {
    padding-left: 0;
}

#block-emare-deadline-2 h2 {
    font-size: 24px;
    line-height: 30px;
    color: #ff3750 !important;
    margin: 0;
}

#block-emare-deadline-2 p {
    font-size: 20px;
    line-height: 24px;
    color: #ff3750 !important;
}

.menu--account {
    padding: 10px;
    background: #fff0f3;
    float: none !important;
    padding: 2px;
    margin: 10px auto 0 auto !important;
}

#block-emare-deadline-2 {
    background: #fff;
}

.footer {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 40px !important;
}


/* home */

.field--name-body,
.field--name-field-locationteaserimg,
.field--name-field-location-summary {
    padding-left: 20px;
}

.field--name-field-locationteaserimg {
    padding-bottom: 10px;
    padding-top: 10px;
}

article.page ul,
.field--name-field-location-summary ul,
.page-node-type-location .field--type-text-with-summary ul {
    margin-left: -20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.field--name-field-locationimg {
    padding-top: 40px;
}

.field--name-field-locationimg .field--item {
    padding-bottom: 20px;
}

.highlight a,
.highlight li,
.highlight li::marker {
    color: #ff3750 !important;
}

article.page li {
    margin-bottom: 5px;
}

.path-faq .region-content h2 {
    padding-top: 60px;
    padding-bottom: 40px;
}

.path-faq .region-content .views-row:first-of-type h2 {
    padding-top: 0;
}

.path-faq h1.page-header,
.path-locations h1.page-header,
.page-node-type-location h1.page-header {
    font-size: 39px;
    line-height: 46px;
}

ul.list-inline {
    margin-left: 0;
}

.list-inline>li.node-readmore {
    padding-left: 20px;
    padding-top: 0;
    padding-bottom: 20px;
}

.list-inline>li.node-readmore a {
    color: #ff3750 !important;
    font-family: 'Montserrat ExtraBold', sans-serif !important;
    font-size: 14px;
    line-height: 16px;
    font-weight: 800 !important;
    text-decoration: underline;
    text-transform: uppercase;
}

.list-inline>li.node-readmore a:hover,
.list-inline>li.node-readmore a:focus {
    text-decoration: none;
}

.list-inline>li.node-readmore a:before {
    content: "> "
}

.block-views-blockmy-submission-block-1 {
    background: #fff;
}

#block-emare-workflowdescription,
#block-emare-conditionsofentry {
    background-color: #fff0f3;
    padding: 20px;
    margin: 20px 0px;
}

.glyphicon {
    font-family: "Glyphicons Halflings" !important;
    font-weight: 400 !important;
}


/* Styling fieldgroups */

body.page-node-type-submission a.panel-title,
.node-submission-form a.panel-title {
    font-family: 'Montserrat ExtraBold', sans-serif !important;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
}


/* Background-color field groups */

body.page-node-type-submission .panel-default>.panel-heading,
.node-submission-form .panel-default>.panel-heading {
    background-color: #fff0f3 !important;
}


/* Background-color field groups for author information */

body.page-node-type-submission #block-emare-views-block-submission-author-info-block-1-2 .panel-default>.panel-heading,
.node-submission-form #block-emare-views-block-submission-author-info-block-1-2 .panel-default>.panel-heading {
    background-color: #d1d7e0 !important;
}


/* Label and options styling */

body.page-node-type-submission label,
.node-submission-form label,
body.page-node-type-submission #field-reference-works-add-more-wrapper strong,
.node-submission-form #field-reference-works-add-more-wrapper strong,
body.page-node-type-submission article .field--label,
.node-submission-form article .field--label {
    font-size: 20px;
    line-height: 24px;
}

body.page-node-type-submission field--label,
.node-submission-form field--label {
    margin-top: 20px;
    margin-bottom: 8px;
}

body.page-node-type-submission label.option,
.node-submission-form label.option {
    font-size: 16px;
    font-family: 'Montserrat SemiBold', sans-serif !important;
}


/* Word count styling */

body.page-node-type-submission .counter,
.node-submission-form .counter {
    font-size: 12px;
    font-style: italic;
}


/* Help text styling */

body.page-node-type-submission .help-block,
body.page-node-type-submission .help-block a,
body.page-node-type-submission .help-block ul,
body.page-node-type-submission .help-block ul li,
body.page-node-type-submission .field--item a,
.node-submission-form .help-block,
.node-submission-form .help-block a,
.node-submission-form .help-block ul,
.node-submission-form .help-block ul li,
.node-submission-form .field--item a {
    font-size: 14px !important;
    line-height: 20px !important;
}


/* Print link styling */

body.page-node-type-submission .printfriendly,
.node-submission-form .printfriendly {
    display: block;
    margin: 20px 0px;
}


/* Jury area styling */

body.page-node-type-submission .jury-area,
.node-submission-form .jury-area {
    background-color: pink !important;
}

.bg-video-left,
.bg-video-right {
    display: none;
}

@media all and (min-width: 1200px) {
    .bg-video-left,
    .bg-video-right {
        display: block;
    }
}

.bg-video-left {
    position: absolute;
    left: 0;
    top: 500px;
    z-index: -1;
}

.bg-video-right {
    position: absolute;
    top: 120px;
    right: 0;
    z-index: -1;
}

body.page-node-type-submission .content .field--label {
    margin-top: 12px
}

body.path-calladmin mark {
    background: #ff0;
}


/* Calladmin styles */

body.path-calladmin .clearfix::before {
    display: inline;
    content: " ";
}

.view-calladmin {
    font-size: 13px !important;
    line-height: 14px !important;
    font-family: arial !important;
    font-weight: normal !important;
}

.view-calladmin .views-field-field-categoriesother,
.view-calladmin .views-field-field-themes,
.view-calladmin .views-field-field-methods {
    background-color: #d1fbc9;
}

.view-calladmin .views-field-title {
    background-color: #72dfda;
}

.views-field-field-juryremarks,
.views-field-field-nominated,
.views-field-field-shortlisted,
.views-field-field-selected {
    background-color: pink;
}

.view-calladmin .views-field-title a,
.view-calladmin th a {
    font-weight: bold !important;
}

.view-calladmin .field--label {
    font-size: 11px !important;
    line-height: 14px !important;
    font-family: arial !important;
}

.view-calladmin .field--item {
    font-size: 13px !important;
    line-height: 14px !important;
    font-family: arial !important;
    font-weight: normal !important;
}

.view-calladmin .field--name-field-categoriestax div.field--item::before {
    content: "◦";
    padding-right: 2px;
}

.view-calladmin .field--name-field-methods div.field--item::before {
    content: "◦";
    padding-right: 2px;
}

.view-calladmin .field--name-field-themes div.field--item::before {
    content: "◦";
    padding-right: 2px;
}

.view-calladmin #edit-nid {
    width: 70px;
}

.view-calladmin th,
.view-calladmin th a,
.view-calladmin td,
.view-calladmin mark,
.view-calladmin td a,
.view-calladmin td ul li,
.view-calladmin td ul li mark,
.view-calladmin td ul li a,
.view-calladmin td ol li,
.view-calladmin td ol li a {
    font-size: 13px !important;
    line-height: 18px !important;
    font-family: arial !important;
    font-weight: normal !important;
}

.field--name-field-reftitle {
    font-size: 20px;
    padding-top: 20px;
    text-decoration: underline;
}