@import url("fonts.css");

body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt helvetica, arial, sans-serif;
    font-family: 'FreeMono' !important;
    letter-spacing: -0.6px !important;
    /*font-family: 'FreeMono' !important;*/
	background: url(../images/wrapper-bg_x2.png) repeat;
    background-color: grey;
}

.container {
    min-width: 576px !important;
}

#page
{

    /*width: 960px;*/
    margin: 51px auto 0px auto;
    padding: 0;
	/*border: 1px solid #C9E0ED;*/
}

#header
{
    position: relative;
    z-index: 90;
    height: 305px;
	margin: 0;
	padding: 0;
	/*border-top: 3px solid #C9E0ED;*/
}

#header_image
{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -99;
    height: 250px;
    width: 500px;
    background: url(../images/header_images/RocketMan.png) no-repeat right transparent;
    background-size: contain;
    box-shadow: -15px 0px 20px -10px Black inset;
}

#page-main
{
    /*background: white;*/
    position: relative;
    display: block;
    min-height: 500px;
    margin: 0 0;
    padding: 0px;
    background: white;
    box-shadow: 0px 1px 7px 0px black;
}

#content {
    box-sizing: border-box;
    position: relative;
    min-height: 450px;
    padding: 25px 20px;
    /*background: white;*/
}

#content.has-sidebar
{
    box-sizing: border-box;
    display: table-cell;
    position: relative;
    vertical-align: top;
    padding: 20px 15px;
    width: 75%;
}

#sidebar
{
    box-sizing: border-box;
    display: table-cell;
    position: relative;
    vertical-align: top;
	padding: 20px 10px;
    width: 25%;
    height: 100%;

    background: #d3d3d3; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(90deg, #d3d3d3, white); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(90deg, #d3d3d3, white); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(90deg, #d3d3d3, white); /* For Firefox 3.6 to 15 */
    background: linear-gradient(90deg, #d3d3d3, white); /* Standard syntax */
    box-shadow: -3px 0px 8px -2px Black;
}

#footer
{
    margin: 0;
    padding: 0;
	font-size: 0.8em;
    position: relative;
    bottom: 0;
    border: 0;
    background: transparent url(../images/top_menu_bg_back.png) repeat-x left bottom;
    background-size: contain;
    box-shadow: 0px 0px 7px 0px black;
    color: #CCC;
}

#footer-content
{
    box-sizing: border-box;
    display: block;
    /*width: 960px;*/
    min-height: 125px;
    padding: 0px;
    margin: 0 auto;
    text-align: center;
    border-left: 1px dashed #666;
    border-right: 1px dashed #666;
    box-shadow: 0px 3px 7px 0px black;
}

#footer-top
{
    box-sizing: border-box;
    width: 100%;
    height: 130px;
    padding-top:10px;
}

#footer-bottom
{
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 25px;
    font-size: 14px;
    line-height: 25px;
    border-top: 1px dashed #888;
}


#footer-logo {
    box-sizing: border-box;
    margin: 8px 10px 10px 13px;
    padding: 5px 6px;
    width: 98px;
    height: 98px;
    background: url(../images/matemoto_square.png) no-repeat center transparent;
    background-size: contain;
    /* background: transparent; */
    cursor: pointer;
    box-shadow: 0px 0px 8px 0px black;
}

#text-logo
{
    display: none;
    box-sizing: border-box;
    margin: 8px 10px 10px 13px;
    padding: 5px 6px;
    width: 98px;
    height: 98px;
    border: 3px dashed white;
    font-size: 30px;
    line-height: 28px;
    text-align: justify;
    letter-spacing: 3px;
    font-family: 'Questrial' !important;
    font-weight: bold;
}

#text-logo span
{
    font-size: 30px;
    font-weight: bold;
    display: block;
    color:  white;
}
#text-logo span.moto
{
    color: yellowgreen;
}
#text-logo span:last-child
{
    letter-spacing: 4px;
    line-height: 24px;
}


#logo
{
    display: none;
    position: absolute;
    top: 13px;
    left: 0px;
    width: 220px;
    height: 220px;
    margin: 0;
    /*background: url(../images/MateMoto_1680x880_2c_transp.png) no-repeat center transparent;*/
    background: url(../images/matemoto_square.png) no-repeat center transparent;
    background-size: contain;
    cursor: pointer;
    box-shadow: 0px 0px 8px 0px black;
}


#mainmenu
{
    box-sizing: content-box;
    position: absolute;
    left: -10px;
    bottom: 0px;
    width: 100%;
    height: 60px;
    padding: 0px 10px;
	background: transparent url(../images/top_menu_bg.png) repeat-x left bottom;
    border-width: 0px 1px 1px 0px;
    border-style: solid;
    border-color: #AAA;
    box-shadow: 2px 2px 10px 2px Black;
    border-radius: 8px;
    -moz-border-radius: 8px;
}

#mainmenu ul
{
    box-sizing: content-box;
    display: block;
    height: 100%;
	padding: 0px;
	margin: 0px auto;
    width: 100%;
    background: transparent url(../images/top_menu_bg.png) repeat-x left bottom;
    border-right: 1px dashed #666;
    border-left: 1px dashed #666;
    font-size: 0;
}

#mainmenu ul li
{
    height: 100%;
    width: 18%;
    padding: 0 1%;
    margin: 0;
	display: inline-block;
    vertical-align: top;
    border-right: 1px dashed #666;
}

#mainmenu ul li.search
{
    float: right;
    width: 35%;
    padding: 0 2%;
    border: 0;
}

#mainmenu ul li a
{
    display: block;
    background-color:transparent;
    height: 100%;
    width:  100%;
    line-height: 60px;
    color: #AAA;
    font-size: 20px;
    /*font-family: 'FreeMonoBold' !important;*/
    /*font-weight: bold;*/
    /*font-weight:bold;*/
    text-decoration:none;
    text-align: center;
    /*text-shadow: -1px -1px 0px Black, 1px 1px 0px grey;*/
}

#mainmenu ul li:last-child {
    border-right: 0px;
}

#mainmenu ul li:not([class=search]) a:hover
{
    color: #CCFF00;
    text-decoration:none;
    /*text-shadow: 0px 0px 20px #CCFF00, 0px 0px 2px black;*/
}

#mainmenu ul li.active
{
    /*: rgba(0,0,0,0.1);*/
    box-shadow: 5px 0px 15px -5px Black inset, -5px 0px 15px -5px Black inset;
}
#mainmenu ul li:not([class=search]).active a
{
    color: #CCFF00;
    text-decoration:none;
    text-shadow: 0px 0px 20px #CCFF00, 0px 0px 2px black;
}

#mainmenu ul li.search input {
    box-sizing: border-box;
    width: 100%;
    color: white;
    margin: 15px 0px;
    height: 30px;
    background-color: rgba(0,0,0,0.1);
    background-image: url(../images/icons/search-24.png);
    background-repeat: no-repeat;
    background-position: right;
    box-shadow: 2px 2px 10px Black inset;
    border: 1px inset lightgrey;
    border-radius: 16px;
    padding: 0 32px 0 10px;
}

#topmenu-bg
{
    position: fixed;
    top: 0px;
    z-index: 99;
    height: 50px;
    width: 102%;
    margin: 0 -1%;
    padding: 0 1%;
    background: url(../images/top_menu_bg.png) repeat-x;
    background-size: 100% 100%;
    border-bottom: 1px solid #444;
    box-shadow: 0px 5px 10px Black;
}

#topmenu
{
    position: relative;
    height: 100%;
    /*border-width: 0 0 0 1px;
    border-style: dashed;
    border-color: #666;*/
    margin: 0 auto;
}

#home-link {
    box-sizing: border-box;
    position: absolute;
    top: 7px;
    left: 7px;
    text-decoration: none;
    font-size: 26px;
    line-height: 32px;
    height: 36px;
    padding: 0px 5px;
    margin: 0;
    display: block;
    /*font-weight: bold;
    line-height: 50px;*/
    color: white;
    text-shadow: 0px 0px 20px Black;
    border: 2px dashed white;
    letter-spacing: 3px;
    font-family: 'Questrial' !important;
    font-weight: bold;
    /*font-family: 'FreeMonoBold' !important;*/
}
#home-link > * {
    display: inline-block;
}
#home-link .moto {
    /*color: #cbfe00;*/
    color: greenyellow;
}
#home-link:hover {
    text-shadow: 0px 0px 15px greenyellow;
}

#topmenu {
    padding: 0px;
}

#topmenu ul
{
    margin: 0px;
    padding: 0px;
    text-align: right;
    height: 100%;
}

#topmenu ul li
{
    vertical-align: top;
    box-sizing: border-box;
    display: inline-block;
    height: 100%;
    padding: 0;
    margin: 0px 0px;
    border-left: 1px dashed #666;
    border-right: 1px dashed #666;
}

#topmenu ul li a
{
    color: white;
    background-color: transparent;
    display: block;
    height: 100%;
    min-width: 60px;
    padding: 0 15px;
    font-size: 16px;
    /*font-weight:bold;*/
    text-decoration:none;
    line-height: 50px;
    text-align: center;
    text-shadow: 0px 0px 15px Black;
}


#topmenu ul li:not([class=search]) a:hover
{
    color: #CCFF00;
    text-decoration:none;
    /*text-shadow: 0px 0px 20px #CCFF00, 0px 0px 2px black;*/
}

#topmenu ul li:not([class=search]).active a
{
    color: #CCFF00;
    text-decoration:none;
    text-shadow: 0px 0px 20px #CCFF00, 0px 0px 2px black;
}

#topmenu ul li.active
{
    /*: rgba(0,0,0,0.1);*/
    box-shadow: 5px 0px 15px -5px Black inset, -5px 0px 15px -5px Black inset;
}

#topmenu ul li.login
{
    padding-right: 36px;
    background: url(../images/icons/login-24.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right;
}

#topmenu ul li.submenu
{
    position: relative;
    padding-right: 36px;
    background: url(../images/icons/arrow_down.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right;
}

#topmenu ul li.submenu ul {
    position: absolute;
    top: 100%;
    right: 0;
    height: auto;
    width: 150px;
    z-index: 10;
    display: none;
    background: #222;
    border: 1px solid #444;
    box-shadow: 0px 3px 7px 1px black;
}

#topmenu ul li.submenu:hover > ul
{
    display: block;
}

#topmenu ul li.submenu ul li
{
    position: relative;
    display: block;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    border: none;
    border-bottom: 1px dashed #666;
    text-align: left;
    padding: 0;
}

#topmenu ul li.submenu ul li a
{
    box-sizing: border-box;
    display: block;
    line-height: 32px;
    padding: 0 32px 0 10px;
    height: 100%;
    width: 100%;
}

#topmenu ul li.submenu ul li:hover a
{
    background: rgba(255,255,255,0.1);
}

#topmenu ul li.submenu ul li:last-child
{
    border: 0;
}

#topmenu ul li.logout
{
    background: url(../images/icons/logout.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right;
}


#topmenu ul li.menu_profile
{
    position: relative;
    padding: 0 36px 0 0;
    margin: 0;
    min-width: 200px;
    line-height: 0px;
}

#topmenu_profile
{
    display: block;
    /*position: relative;
    left: 0;
    top: 0;*/
    height: 100%;
    text-align: left;
    padding: 0 0 0 60px;
    line-height: 48px;
    margin: 0;
}
#topmenu_profile > div.avatar
{
    box-sizing: content-box;
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    background-color: #DDD;
    border: 1px solid black;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
}
#topmenu_profile > div.name
{
    display: block;
    color: white;
    height: 48px;
    line-height: 48px;
    padding: 0;
    margin: 6px 0px;
}


div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
    position: relative;
    box-sizing: border-box;
	padding: 10px;
	/*border-bottom: 1px solid #C9E0ED;*/
}

div.view * {
    box-sizing: border-box;
}

div.view_title
{
    position: relative;
    width: 100%;
    left: 0%;
    height: 36px;
    margin: 0 0 15px 0;
    background: yellowgreen;
    box-shadow: 0px 2px 8px -2px black;
}
div.view_title * {
    line-height: 36px;
    margin: 0;
    display: inline-block;
    vertical-align: top;

    color: darkslategray;
    text-shadow: -1px 1px 1px white;
    font-weight: bold;
}
div.view_title_date
{
    display: inline-block;
    vertical-align: top;
    width: 180px;
    height: 34px;
    margin: 1px;
    padding: 2px 6px;
    float: right;
    /*background: #caff34;*/
    border-left: 1px dashed #666;


    font-size: 16px;
    line-height: 30px;
    text-align: right;
    font-weight: bold;
    color: darkslategray;
    text-shadow: -1px 1px 1px white;
    /*position: absolute;
    top: 0px;
    left: -40px;
    width: 40px;
    height: 36px;
    background: yellowgreen;*/
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
    background: transparent;
	padding: 0 5px;
    margin: 30px -6px 0 -6px;
    height: 50px;
    line-height: 50px;
    border-top: 1px dashed DimGrey;
    border-bottom: 1px dashed DimGrey;
    /*border-right: 1px dashed DimGrey;
    border-left: 1px dashed DimGrey;*/
    box-shadow: 0px 16px 10px -10px rgba(0, 0, 0, 0.5),
                0px 6px 10px -6px rgba(0, 0, 0, 0.5);

    background: #d3d3d3; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(-90deg, #d3d3d3, white, #888); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(-90deg, #d3d3d3, white, #888); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(-90deg, #d3d3d3, white, #888); /* For Firefox 3.6 to 15 */
    background: linear-gradient(-90deg, #d3d3d3, white, #888); /* Standard syntax */
}

.portlet-title
{
    font-size: 20px;
	padding: 0;
	margin: 0;
    color: darkslategray;
    text-align: center;
    font-weight: bold;
    /*text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7);*/
    text-shadow: -1px 1px 1px white;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 5px 15px 5px;
    padding: 10px 5px;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid #CCC;
    border-top: 0px solid transparent;
	/*background:#EFFDFF;*/
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 0 6px;
    height: 26px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font-size: 16px;
    font-weight: bold;
	color: DimGrey;
	display: block;
	padding: 2px 0 2px 8px;
    height: 100%;
    width: 100%;
    line-height: 26px;
	text-decoration: none;
}

.operations li a:visited
{
    color: DimGrey;
}

.operations li a:hover
{
    color: #CCFF00;
    text-shadow: 0px 0px 5px black;
}

.donation_text
{
    padding: 5px;
    font-size: 14px;
}



@media (max-width: 767px){
    #page {
        margin: 65px auto 0px auto;
    }
    .container {
        width: 100%;
        max-width: none;
    }

    #topmenu-bg {
        height: 64px;
    }
    #home-link {
        top: 14px;
        left: 10px;
    }
    #home-link.shorted {
        display: inline-block;
    }
    #home-link.full-width {
        display: none;
    }

    #mainmenu {
        box-sizing: border-box;
        left: 0px;
        bottom: 0px;
        width: 100%;
        padding: 0px;
        border-width: 0px 0px 1px 0px;
        border-radius: 0px;
        -moz-border-radius: 8px;
        overflow-x: hidden;
    }

    #topmenu ul li a {
        padding: 0 18px;
        font-size: 18px;
        line-height: 64px;
    }
}

@media (max-width: 575px){
    body {
        width: 576px;
    }
}

@media (min-width: 768px){
    #home-link.shorted {
        display: none;
    }
    #home-link.full-width {
        display: inline-block;
    }
}