/* cmsms stylesheet: festivalito_colors modified: 02/08/17 18:51:33 */
 /* yellow */
 /* yellow */
 /* red */
/* cmsms stylesheet: milonguerotest modified: 03/14/17 08:59:31 */

/* za barve imamo spremenljivke: bgcolor, textcolor, emcolor, copyrightcolor; in pogojno tudi siva, rumena, rdeca */

/* font: Jellyka - Saint Andrews Queen */
@font-face {
 font-family: saq;
 src: url(/uploads/my_Saint_Andrews_Queen.ttf);
}

/* layout */

body {
  background-color:  #f3c127;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#body-container {
    width: 100%;
    max-width: 1240px;
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
}
@media only screen and (max-device-width:799px) {
    #body-container {
	padding-top: 0.3em;
	padding-left: 0.3em;
	padding-right: 0.3em;
    }
    #sitemenu {
	padding: 0.3ex 0.3em;
    }
}

@media only screen and (min-width:1240px) {
    #body-container {
	margin-left: auto;
	margin-right: auto;
    }
}


#header {
 background-color: white;
}

#sitemenu {
  text-align: left;
  padding: 1ex 1em;
}
#sitelogo {
  text-align: right;
  padding: 1ex 1em 0px 0px;
}
@media only screen and (max-device-width:799px) {
    #sitemenu {
	padding-top: 0px;
    }
    #sitelogo {
	padding: 1ex 1em 0px 1em;
	max-width: 80%;
    }
    #sitelogo img {
	height: 3em;
    }
}
@media only screen and (min-device-width:800px) {
    #sitelogo {
        padding-top: 4em;
    }
}

#main {
 background-color:  black;
 color: #f3c127;
}

#main-left {
 padding-top: 1.5em;
 padding-left: 1.5em;
 padding-right: 0px;
 padding-bottom: 1.5em;
}

#main-content {
 padding: 1.5em;
}

#main-right {
 text-align: right;
 white-space: nowrap;
 padding-top: 1.5em;
 padding-left: 0px;
 padding-right: 1.5em;
 padding-bottom: 1.5em;
}

@media only screen and (max-device-width:799px) {
    #main-content {
	padding: 0.6em; 
    }
    #main-right {
	padding: 0.6em;
	padding-left: 0px;
    }
}


#main > * >  :first-child, #main > * > :first-child > :first-child, #main > * >  :first-child > :first-child > :first-child, #main > * >  :first-child > :first-child > :first-child > :first-child {
 margin-top: 0px;
}

#footer {
 text-align: center;
}

#body-container {
    display: flex;
    flex-direction: column;
    max-width: 1240px;
}

#header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

#menu-button-and-sitelogo {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#main {
    display: flex;
    flex-direction: row;
}

body {
    min-width: 320px;
}
@media only screen and (min-device-width:800px) {
    body {
	min-width: 800px;
    }
    #header, #main, #footer {
	min-width: 100%;
    }
    #main-left {
	flex-shrink: 1;
	flex-grow: 0;
	max-width: 120px;
    }
    #main-content {
	flex-grow: 1;
    }
    #main-right {
	flex-shrink: 0;
	flex-grow: 0;
	order: 3;
    }
    #main {
	flex-direction: row;
    }
}

@media only screen and (max-device-width:799px) {
    #main {
	flex-direction: column;
    }
    #header {
	flex-direction: column;
    }
    #main {
	flex-direction: column;
    }
    #main-right {
	order: 1;
	align-self: flex-end;
    }
    #main-content {
	order: 2;
    }
    #main-left {
	order: 3;
	align-self: center;
	padding: 1em;
    }
}


/* menus */

ul.sitemenu a, ul.sitemenu a:visited {
 color: black;
 text-decoration:none;
}

ul.sitemenu a:hover {
 color: #f3c127; 
 text-decoration:none;
}

ul.sitemenu, ul.sitemenu_section, ul.sitemenu li {
  display: inline;
  padding: 0;
}
ul.sitemenu > li:not(:last-child):after{
 content: '|';
 padding: 0px 0.3em;
}
ul.sitemenu_section > li{
 padding: 0px 0.3em;
}
ul.sitemenu a.sitemenu_active {
  font-weight: bold;
}

ul.sidemenu {
 text-align: right;
 white-space: nowrap;
 padding: 0;
 padding-top: 3em;
}
@media only screen and (max-device-width:799px) {
    ul.sidemenu {
	padding-top: 0px;
    }
}

ul.sidemenu li {
 list-style-type: none;
}

ul.sidemenu a, ul.sidemenu a:visited {
 color: #f3c127; 
 text-decoration:none;
}
ul.sidemenu a:hover {
 color: white;    
 text-decoration:none;
}
ul.sidemenu li.separator {
  border-bottom: solid 1px #5a5b5d; 
}
ul.sidemenu a.sidemenu_active {
  font-weight: bold;
}
ul.sidemenu-extraitems {
  padding-top: 0;
}
@media only screen and (min-device-width:800px) {
    #main-right {
	font-size: small;
    }
}
@media only screen and (min-device-width:800px) {
 ul.sidemenu {
  width: 216px; /* 216=221px-5x(zamik logota) */
 }
}
@media only screen and (max-device-width:799px) {
    #main-right {
	max-width: 80%;
	min-width: 204px;
    }
}

#menu-button {
    display: none;
}
#menu-button img {
    padding: 1em;
    height: 1.9em;
}


@media only screen and (max-device-width:799px) {
    #menu-button-and-sitelogo {
	justify-content: space-between;
    }
    #menu-button {
	display: inline;
    }
    #sitemenu, #main-right {
	display: none;
    }
}
#page-en #sitemenu, #page-sl #sitemenu, #page-es #sitemenu {
    display: block;
}

/* copyright */

tr.copyright {
    text-align: center;
    color: #B27D00;
    font-size: small;
}

a.copyright:hover {
    color: black;
}

/* content */

#body-container {
    font-family: sans-serif;
    line-height: 1.4;
    color: grey; 
}
h1 {
  color: white;
  font-size: x-large;
}
h2 {
  color: white;
  font-size: large;
}

.invitation {
    font-size: small;
    margin-top: 10px;
    margin-bottom: 10px;
}

em {
    color: white;
    font-style: normal;
}

a, a:visited {
 color: white;
}
a, a:visited, a:hover {
 text-decoration:none;
}


a.inverted, a.inverted:visited {
 	color: #f3c127;
}

table {
  text-align: left;
  color: #f3c127; 
}

h2 {
    color: white;
}

h3 {
 color: white;
 font-size: medium;
 margin-bottom: 0px;
}
h3+p {
  margin-top: 0px;
}

.important {
    color: white;
    font-weight: bold;
}

b {
    color: white;
}

.footnote {
    font-size: small;
}

.notes {
   font-style: italic;
}

p+ul {
 margin-top: -1ex;
}
dd dl {
 margin: 0px;
}

dl.compact {
 margin-top: 0px;
}
dl.compact dt {
 display: inline;
 margin-left: 0px;
}
dl.compact dd {
 display: inline;
 margin-left: 0.5em;
}
dl.compact dd:after {
 content: '\A';
 white-space: pre;
}

ul.compact, ul.compact li {
  margin: 0px;
}
/* to correct */
.raduno {
  color: #bc3516;
}
.pomembno {
  color: #bc3516;
}
.festivalito {
  color: #f3c127; 
}
/* end */

a.eventlogo, a.eventlogo:visited {
    color:  black;
}

table.address {
    border-collapse:collapse;
}
td.address {
    padding-left:0px;
    padding-right:5px;
    padding-bottom: 5px;
}

.error_message {
    color: #bc3516;
}

.fb_invalid {
    color: #bc3516;
}

a.hiddenlink {
  color:#f3c127; 
}

dt {
  color:white;
}

.invitation-upper {
    font-size: small;
    margin-top: 30px;
    margin-bottom: 10px;
}

.invitation-lower {
    font-size: small;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: right;
}


table.razpored-tecajev td {
  text-align: center;
  padding: 0px 1em;
}
table.razpored-tecajev tr:first-child, table.razpored-tecajev tr td:first-child {
  color: white;
}
table.razpored-tecajev tr td:first-child {
  text-align: left;
}

div.facebook-badge {
  margin-top: 30px;
  line-height: 1;
  white-space: normal;
}


div.novica.rural {
  margin-left: 30px;
  text-align: right;
}
.novica.rural h1 {
  margin-top: 0px;
}
.novica.featured h1 {
  margin-bottom: 0px;
}
.novica.rural p:first-child {
  margin-bottom: 0px;
}
.novica.rural .datum {
  padding-left: 0.5em;
}
h1.rural {
 font-family: saq;
 font-weight: normal;
 color: white;
 font-size: 300%;
 white-space: nowrap;
}

@media only screen and (max-device-width:799px) {
    h1.rural {
	white-space: normal;
	line-height: 100%;
    }
}

.datum {
  color: #bc3516;
}
.novica h2 {
 font-size: medium;
 margin-bottom: 0px;
}
.novica > p:first-of-type {
 margin-top: 0px;
}

.novica-more {
  margin-top: -16px;
}
.novica ul {
  margin: 0;
}

img.inline {
 height: 12px;
}

table.vozni-red-vlak {
  border-collapse: collapse;
}
table.vozni-red-vlak tr.sep td {
 border-top: 1px solid;
 border-color: #f3c127;
}
table.vozni-red-vlak td {
 padding-right: 0.4em;
}
table.vozni-red-vlak td:nth-child(2), table.vozni-red-vlak td:nth-child(4) {
 padding-right: 1em;
}
table.vozni-red-vlak td {
    vertical-align: top;
}

th {
  color: white;
  font-weight: normal;
}
table.prices td {
  padding-right: 1em;
}

table.prices td:not(:first-child) {
 text-align: right;
}

.big-radio-group > span {
  display: block;
}

table.registration-accommodation-preferences td {
  vertical-align: top;
}
table.program td {
    vertical-align: top;
}
table.program td:nth-child(1) {
  color: white;
  padding-right: 4px;
  white-space: nowrap;
}
table.program td:nth-child(2) {
}
table.program tr:not(:first-child) th {
  padding-top: 10px;
}
table.program th:nth-child(1) {
  color: #f3c127;
}
table.program th:nth-child(2) {
}

table.program {
  border-collapse: collapse;
}

h2 .datum {
  font-size: medium;
  font-weight: normal;
}
h2 .datum:before {
  content: ' ';
  clear: right;
  display: block;
}

#page-en #main-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    padding-right: 0px;
}

@media only screen and (max-device-width:799px) {
    #page-en #main-content, 
    #page-sl #main-content, 
    #page-es #main-content {
	flex-direction: column;
    }
    #page-en #main-content > div:nth-child(1), 
    #page-sl #main-content > div:nth-child(1), 
    #page-es #main-content > div:nth-child(1) {
	align-self: flex-end;
	margin-right: 0.6em;
    }
    #page-en #main-left, 
    #page-sl #main-left, 
    #page-es #main-left {
	order:0; 
	align-self: flex-start;
	padding-bottom: 0px;
    }
    #page-en #main-right, 
    #page-sl #main-right, 
    #page-es #main-right {
	padding: 0px;
    }
}
