/*
 Theme Name:   Twenty Thirteen Child - Mathmod2018
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Twenty Thirteen Child Theme for Mathmod 2018
 Author:       Michael Baumgart
 Author URI:   http://www.acin.tuwien.ac.at
 Template:     twentythirteen
 Version:      1.1.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-thirteen-child

History:
20141110: Insert and adaptation of new ifac logo
20150312: Defintion of regfee table, definition of download icons
*/

@import url("../twentythirteen/style.css");

/* =Theme customization starts here
see also at bottom of file 
-------------------------------------------------------------- */
/* specific customization */
#head_hide {display: none;}
#post-16 #head_hide {display: inline;}

.newsletter table, td {
border: none;
}

.download-link:before {
	content: '\f50b';
}

.download-link:before, .download-link a:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 12px/1 Genericons;
	vertical-align: middle;
}
.template-dl {
margin-left:1em;
margin-top:1.5em;
margin-bottom:1.5em;
font-size:1em;
}
#regfee {
width:80%;
border: none;
}
#regfee td {
padding: 0;
}
#regfee tbody {
border-top: 1px solid black;
border-bottom: 1px solid black;
}

.sponsortable {
border: none;
}
.sponsortable td{
    padding: 10px 5px;
}
/* .entry-content {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
} */



/* change fonts definitions */
html,
button,
input,
select,
textarea {
	/*font-family: "Source Sans Pro", Helvetica, sans-serif;*/
	  font-family:  Verdana, 'Open Sans', 'LatoLatin', Arial, Helvetica, sans-serif;
 	/*font-family: 'LatoLatin', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;*/
	/*font-family: 'Lato', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;*/
	
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
	font-size: 100%;
}
a {
	/*color: #ca3c08;*/
	/* color: #BA122B; */ /* acin red */
	color: #B1161E; /* vienna red */
	text-decoration: none;
}

a:visited {
	color: #ac0404;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	/*color: #ea9629;*/
	color: #B1161E; /* vienna red */
	outline: 0;
}

a:hover {
	text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	/* font-family: Bitter, Georgia, serif;*/
	 font-family:  Verdana, 'Open Sans Condensed', 'LatoLatin', Helvetica, sans-serif;
	/* font-family: 'LatoLatin', 'Open Sans Condensed', sans-serif, 'Lato', Helvetica, sans-serif;*/
	line-height: 1.3;
	font-weight: bold;
}
h1 {
	font-size: 1.4em;
	margin: 30px 0;
}

h2 {
	font-size: 1.2em;
	margin: 20px 0;
}

h3 {
	font-size: 1em;
	margin: 0.3em 0;
}

h4 {
	font-size: 0.875em;
	margin: 15px 0;
}

h5 {
	font-size: 0.875em;
	margin: 1em 0;
}

h6 {
	font-size: 0.875em;
	margin: 1em 0;
}

p {
	font-size: 0.875em;
	margin: 0 0 24px;
}

menu,
ol,
ul {
font-size: 0.875em;
	margin: 16px 0;
	padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

/* ul {
	list-style-type: square;
	list-style-image: url('https://www.mathmod.at/wp-content/themes/twentythirteen-child-mathmod2018/images/headers/bullet12.gif');
} */

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */
.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	color: #220e10;
	font-size: 0.875em;
	font-style: italic;
	font-weight: 300;
	margin: 0 0 24px;
}

/* Form fields, general styles first. */
button,
input,
textarea {
	border: 2px solid rgb(222,222,218);
	font-family: inherit;
	
}

input:focus,
textarea:focus {
	border: 2px solid rgba(171, 194, 195, 1);
	outline: 0;
}

/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

.site {
	background-color: #fff;
	border-left: 1px solid #f2f2f2;
	border-right: 1px solid #f2f2f2;
	margin: 0 auto;
	max-width: 1100px;
	width: 100%;
}

/**
 * 4.0 Header
 * ----------------------------------------------------------------------------
 */

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

.site-title {
	font-size: 60px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	padding: 58px 0 10px;
}

.site-description {
	font: italic 24px Verdana, 'LatoLatin', Helvetica, sans-serif;
	margin: 0;
}
.site-header .home-link {
	color: #141412;
	display: block;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 200px;
	padding: 0 20px;
	text-decoration: none;
	width: 100%;
}

#mmm-shortinfo-header {
display: none;
padding-top: 0.5em;
padding-bottom: 0.5em;
border-top-style: solid;
border-top-width: 1px;
border-top-color: #F2F2F2;
}
#mmm-shortinfo-header p {
margin: 0;
text-align:center;
font-size: 15px;

}

#mmm-banner-header {
background: url('https://www.mathmod.at/wp-content/themes/twentythirteen-child-mathmod2018/images/headers/Mathmod2018_background_right.png') no-repeat scroll right bottom/auto auto white; 
height: 206px;
position: relative;
}

#mmm-banner-header-left {
 position: absolute;
 left: 0px;
 bottom: 0px;
}

#mmm-banner-header-logo {
 position: absolute;
 left: 51px;
 top: 9px;
}

#mmm-banner-header-tag {
 position: absolute;
 left: 350px;
 top: 97px;
}

#mmm-banner-header-date {
 position: absolute;
 right: 9px;
 top: 8px;
}

#mmm-banner-header-host-ifac {
 position: absolute;
 right: 170px;
 bottom: 5px;
}

#mmm-banner-header-host-tu {
 position: absolute;
 right: 9px;
 bottom: 55px;
}
#mmm-banner-header-host-acin {
 position: absolute;
 right: 9px;
 bottom: 5px;
}
/* Navbar */
.navbar {
/*	background-color: #f7f5e7;*/
	background-color: rgb(222,222,218);
	margin: 0 auto;
	max-width: 1100px;
	width: 100%;
}

.menu-item {
	font-weight: 600;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	/*background-color: #220e10;*/
/* background-color: #848081;*/ /* darker gray */ 
background-color: rgb(50,50,55); /* blueish dark gray */
	color: #fff;
}


.nav-menu .sub-menu,
.nav-menu .children {
	/* background-color: #220e10;*/
/* border: 2px solid #f7f5e7; */
/* background-color: #848081;*/ /* darker gray */ 
background-color: rgb(50,50,55); /* blueish dark gray */
/* border: 2px solid rgb(50,50,55); */
	border: none;
left: 0px;
	
}



ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	/*background-color: #db572f;*/
	/* background-color: #BA122B; */ /* acin red */
	background-color: #B1161E; /* vienna red */
}


/*.nav-menu .current_page_ancestor > a,*/
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a
/*.nav-menu .current-menu-ancestor > a */{
	/*color: #bc360a;*/
	/* color: #BA122B; */ /* acin red */
	color: #FEFEFE; /* vienna red */
	font-style: italic;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a
 {
	/*color: #bc360a;*/
	/* color: #BA122B; */ /* acin red */
	color: #B1161E; /* vienna red */
	font-style: italic;
}
.site-header .search-field:focus {
       border: 2px solid rgba(171, 194, 195, 1);
}

/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */

.entry-title {
	font-weight: 600;
	margin: 0 0 5px;
}

.entry-title a {
	color: #141412;
}

.entry-title a:hover {
	color: #ea9629;
}
.entry-header {
    margin-bottom: 10px;
}
.entry-content a,
.comment-content a {
	/* color: #bc360a; */ /*wp2013*/
	/* color: #BA122B; */ /* acin red */
	color: #B1161E; /* vienna red */
}


.entry-content a:hover,
.comment-content a:hover {
	/*color: #ea9629; */
	 color: #B1161E;  /* vienna red */
}

.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
	margin-left: 0px;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
	margin-right: 0px;
}

/**
 * 5.10 Search Results/No posts
 * ----------------------------------------------------------------------------
 */

.page-header {
	background-color: #fff;
}

.page-title {
	font: 400 italic 20px "Open Sans", 'LatoLatin', Arial, Helvetica, sans-serif;
	/* margin: 0 auto;
	max-width: 1040px;
	width: 100%;*/
	padding: 20px 0;
}

/*.page-content {
	margin: 0 auto;
	max-width: 604px;
	padding: 40px 0;
	width: 100%;
}*/

/*.sidebar .page-content {
	margin: 0 auto;
	max-width: 1040px;
	padding: 40px 376px 40px 60px;
}
*/

/**
 * 5.11 404
 * ----------------------------------------------------------------------------
 */

/*.error404 .page-header {
	background-color: #fff;
}

.error404 .page-title {
	line-height: 0.6;
	margin: 0;
	padding: 300px;
	position: relative;
	text-align: center;
	width: auto;
}*/

.error404 .page-title:before {
	color: #000;	
/*color: #e8e5ce;
	content: "\f423";
	font-size: 964px;
	line-height: 0.6;
	overflow: hidden;
	position: absolute;
	left: 7px;
	top: 28px;*/
}

.error404 .page-wrapper {
	/*background-color: #e8e5ce;*/
background-color: rgb(222,222,218);
}

/*.error404 .page-header,
.error404 .page-content {
	margin: 0 auto;
	max-width: 1040px;
	padding-bottom: 40px;
	width: 100%;
}*/

/**
 * 6.0 Sidebar
 * ----------------------------------------------------------------------------
 */

.site-main .widget-area {
	width: 280px;
}

/**
 * 6.1 Widgets
 * ----------------------------------------------------------------------------
 */

.widget {
	/* background-color: rgba(247, 245, 231, 0.7);*/
	/* background-color: rgba(222,222,218,0.8); */
background-color: rgba(222,222,218,1);
	font-size: 0.875em;
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	margin: 0 0 24px;
	padding: 20px;
	word-wrap: break-word;
	/*box-shadow: 3px 3px rgb(200,200,200);*/
}

.widget .widget-title {
	font:  600 1.3em Verdana, 'Open Sans Condensed',  'LatoLatin', Helvetica, sans-serif;
	/* font:  bold 1.3em  'LatoLatin','Open Sans Condensed', Verdana,  Helvetica, sans-serif;*/
	margin: 0 0 10px;
}
.widget a {
	/* color: #bc360a; */ /*wp2013*/
	/* color: #BA122B; */ /* acin red */
	color: #B1161E; /* vienna red */
}

.widget a:hover {
	/* color: #ea9629;*/
color: #B1161E; /* vienna red */
}


.widget ul,
.widget ol {
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: inherit;
}

.widget_pages li {
padding: 0;
}

/**
 * 7.0 Footer
 * ----------------------------------------------------------------------------
 */

.site-footer {
	background-color: #FFFFFF;
	/* background-color: #e8e5ce;*/
	color: #000000;
	/* color: #686758;*/
	font-size: 0.750em;
	text-align: center;
}

.site-footer .widget-area,
.sidebar .site-footer {
	text-align: left;
}

.site-footer a {
	/*color: #686758; wp2013*/
	/* color: #BA122B; */ /* acin red */
	color: #B1161E; /* vienna red */
	/*color: rgb(186,214,255); */
}

.site-footer .sidebar-container {
/* background-color: #220e10; wp2013 */
/*background-color: rgb(224,218,198); new earth-like*/
/*background-color: #7d7c7b;  dark gray */
/*background-color: #F7F5E7;*/
 background-color: rgb(222,222,218); 
/* background-color: #848081;  */ /*nav items dark*/
/*background-color: rgb(50,50,55);*/ /*bluish dark gray*/

	padding: 20px 0;
}

.site-footer .widget-area {
	margin: 0 auto;
	max-width: 1040px;
	width: 100%;
}

/*.sidebar .site-footer .widget-area {
	max-width: 724px;
	position: relative;
	left: -158px;
}*/

.site-footer .widget {
	background: transparent;
	/* color: #141412; */
	/* color: #fff; */
	color: #000; 
	float: left;
	margin-right: 20px;
	width: 245px;
	font-size: inherit;
	box-shadow: none;
}

.sidebar .site-footer .widget {
	width: 228px;
}

.sidebar .site-footer .widget ul, ol {
	font-size: inherit;
}
.sidebar .site-footer .widget:nth-of-type(4),
.sidebar .site-footer .widget:nth-of-type(3) {
	margin-right: 0;
}

.site-footer .widget a {
	/*color: #e6402a;*/
	/* color: #BA122B; */ /* acin red */
	color: #B1161E; /* vienna red */
/*color: rgb(186,214,255);*/

}

.site-footer .widget-title,
.site-footer .widget-title a,
.site-footer .wp-caption-text {
	/* color: #141412; wp2013 */
	color: #000;
}




/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/** style mmm header accordingly */
@media (max-width: 1039px) {
#mmm-banner-header-tag {
display: none;
}

}
@media (max-width: 855px) {

#mmm-banner-header-left {
 display: none;
}

#mmm-banner-header-logo {
 position: absolute;
 left: 9px;
 top: 9px;
}

#mmm-banner-header-host-tu {
 position: absolute;
 right: 8px;
 bottom: 56px;
}

#mmm-banner-header-date {
 position: absolute;
 left: 7px;
 top: 103px;
}

#mmm-banner-header-host-ifac {
 position: absolute;
 right: 8px;
 bottom: 108px;
}

}
@media (max-width: 630px) {
#mmm-banner-header-host-ifac {
 display: none;
}
#mmm-banner-header-host-tu{
 display: none;
}
#mmm-banner-header-host-acin {
 display: none;
}
}
@media (max-width: 470px) {

#mmm-banner-header {
max-height: 206px;
height: auto;
width: 100%;
}
#mmm-banner-header-logo {
 position: relative;
 max-width: 100%;
height: auto;
width: auto;
 left: auto;
right: auto;
 top: 9px;
}

#mmm-banner-header-date {
 position: relative;
 max-width: 100%;
height: auto;
width: auto;
 left: auto;
right: auto;
top: 15px;
padding-bottom: 20px;
}
}

/** overwrite wp2013 styles */
@media (max-width: 1069px) {
	.site-main .widget-area {
		margin-right: 10px;
	}
}

@media (max-width: 999px) {
	.site-main .widget-area {
		width: 100%;
	}
}

@media (max-width: 643px) {

/* Small menu */
.menu-toggle {
	font: bold 16px/1.3 Verdana, 'Open Sans',  Helvetica, sans-serif;
}


.toggled-on .nav-menu li a:hover,
.toggled-on .nav-menu ul a:hover {
	/* background-color: #db572f;*/
	/* color: #fff; */
	background-color: rgb(222,222,218);
	color: #B1161E; /* vienna red */
		
	}

}



@media print {

#mmm-banner-header {
display: none;
}

}


/*---------------*/
/* Really simple media gallery */
/* ---------------*/
.rsg_item {
padding: 5px 5px;
background-color: white;
box-shadow: 0px 0px 2.5px gray;
margin-top: 5px;
text-align: center;
}

.rsg_image {
/*box-shadow: 0px 0px 2.5px gray;*/
}


/*---------------*/
/* customizations to overwrite something */
/* ---------------*/
.wp-caption[class*=sponsor] .wp-caption-text {
	display: inline-block;
	width: 300px;
	position: relative;
	margin-left: 1em;
	margin-top:auto;
	margin-bottom:auto;
	font-style: normal;
	font-size: 1em;
	word-wrap: break-word;
	
}

/*---------TTTEEESSSTTT---------------*/ 

