/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2017-08-16, 10:26:58
    Author     : kamil
*/


/*#5c5e60 - ciemny szary*/

@font-face {
    font-family: 'Myfont-Regular';
    src: url('../fonts/Myfont-Regular.eot');
    src: local('�?'), url('../fonts/Myfont-Regular.woff') format('woff'), url('../fonts/Myfont-Regular.ttf') format('truetype'), url('../fonts/Myfont-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Myfont-Bold';
    src: url('../fonts/Myfont-Bold.eot');
    src: local('�?'), url('../fonts/Myfont-Bold.woff') format('woff'), url('../fonts/Myfont-Bold.ttf') format('truetype'), url('../fonts/Myfont-Bold.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body{
    margin: 0;
    padding: 0;
    font-family: Myfont-Regular, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #555;
    min-width: 480px;
}

#nav{
    margin: -1px 0 0 0;
    padding: 0;
    background-color: #3499DA;
    position: relative;
    z-index: 99999;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

#nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav ul li a{
    line-height: 70px;
    vertical-align: middle;
    color: #fff;
    font-size: 14px;
    font-family: Myfont-Bold, Arial, Helvetica, sans-serif;
    text-decoration: none;
    padding: 0 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

#nav > a
{
    display: none;
}

#nav li
{
    background-color: #3499DA;
    border-right: 1px solid #555;
    box-shadow: 0 1px 0 0 #555, inset 0 1px 0 0 #555;
    box-sizing: border-box;
    position: relative;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

#nav li:hover, #nav .selected{
    background-color: #99c038;
}

#nav ul li ul li:hover{
    background-color: #3499DA;
}

/* first level */

#nav > ul
{
    height: 70px;
}
#nav > ul > li
{
    height: 100%;
    float: left;
}

/* second level */

#nav li ul
{
    display: none;
    position: absolute;
    z-index: 99999;
    top: 100%;
    border-top: 1px solid #555;
}
#nav li:hover ul
{
    display: block;
}

#nav ul li ul li{
    border: 0;
    box-shadow: none !important;
}

#nav ul li ul li a{
    line-height: 30px;
    vertical-align: middle;
    font-size: 14px;
    font-family: Myfont-Regular, Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-transform: lowercase;
}

#nav ul li ul li a:hover{
    text-decoration: underline;
}

.logout{
    float: right !important;
    border-left: 1px solid #555;
}

.logout-image{
    position: relative;
    top: 10px;
}

.logout-text{
    display: none;
}

.menu-button{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    width: 100%;
    line-height: 40px;
}

.top{
    min-height: 80px;
    background-image: url("../gfx/topbg.jpg");
    padding-bottom: 10px;
}

.paginator-container2{
    width: 100%;
    display: inline-block;
}

.paginator-wrapper{
    min-width: 240px;
    border: 1px solid #ccc;
    background-color: #eee;
    float: right;
    padding: 5px 10px;
    line-height: 20px;
    vertical-align: middle;
    margin: 10px;
}

.paginator-information, .paginator-page-selector{
    display: inline-block;
    width: 120px;
}

.paginator-wrapper select{
    width: 100px;
    margin: 0;
}

.clear{
    clear: both;
}

.to_left{
    float: left
}

.to_right{
    float: right;
}

.add_margin{
    margin: 10px;
}

.add_margin_small{
    margin: 5px;
}

.center_text{
    text-align: center;
}

.green_button_small{
    height: 30px;
    width: 80px;
    border-radius: 20px;
    background-color: #99c038;
    line-height: 30px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    float: left;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
    cursor: pointer;
}

.green_button:hover, .green_button_small:hover{
    background-color: #aaa;
}

.large_button:hover {
    background-color: #99c038 !important;
}

.button_text{
    margin: 0 10px 0 60px;
}

.table{
    border: 1px solid #8b8c84;
    /*width: 90%;*/
    /*border-collapse: collapse;*/
    border-collapse: separate;
    margin: 10px 0;
    float: left;
    border-spacing: 0px;
}

.table td{
    margin: 0;
    padding: 5px 7px;
    border: 0;
}

.table tbody{
    border: 1px solid #8b8c84;
}

.table tbody th{
    /*border: 1px solid #8b8c84;*/
}

.table tbody td{
    /*border: 1px solid #8b8c84;*/
}

.table thead{
    text-align: center;
}

.table tbody tr:nth-child(2n){
    background-color: #e0e0e0;
}

.table thead{
    background-color: #A81131;
    color: #fff;
}

.move_down{
    position: relative !important;
    top: 40px !important;
}

input[type="checkbox"]{
    margin: 0 10px;
}

.dot{
    background-color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-block;
}

.title_small{
    width: 94%;
    float: left;
    font-size: 16px;
    padding: 10px 3%;
    line-height: 20px;
    vertical-align: middle;
    background-color: #ddd;
}

.date_small{
    float: right;
    color: #a1a1a1;
}

.left_frame{
    width: 68%;
    float: left;
    background-color: #eee;
    border: 1px solid #ddd;
    padding: 1%;
}

.right_frame{
    width: 29%;
    float: right;
    background-color: #eee;
    border: 1px solid #ddd;
}

.input_wrapper{
    margin: 10px 0;
}

.label_input{
    width: 150px;
    display: inline-block;
    text-align: right;
    font-family: Myfont-Bold, Arial, Helvetica, sans-serif;
}

.label_inside{
    display: inline-block;
    font-family: Myfont-Bold, Arial, Helvetica, sans-serif;
    margin: 0 0 0 10px;
}

.right_content{
    width: 94%;
    float: left;
    padding: 3%;
}

.tabs{
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}

.tabs li{
    margin: 0;
    padding: 10px;
    float: left;
    background-color: #ddd;
    position: relative;
    top: 1px;
    border: 1px solid #ddd;
    margin-right: 1px;
    cursor: pointer;
}

.tabs li:hover{
    background-color: #ccc;
}

.tabs li.selected_tab{
    background-color: #eee;
    border: 1px solid #ddd;
    border-bottom: 1px solid #eee;
    font-family: Myfont-Bold, Arial, Helvetica, sans-serif;
}

.calendar_wrapper{
    float: left;
    width: 49%;
    margin-bottom: 10px;
}

.calendar_wrapper + .calendar_wrapper{
    margin-left: 2%;
}

.calendar_title{
    color: #555;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 50px;
    vertical-align: middle;
}

.calendar_month{
    border: 1px solid #8B8C84;
    background: none;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    border-collapse: collapse;
}

.calendar_month th{
    background-color: #8b8c84;
    color: #fff;
    margin: 1px;
    line-height: 50px;
    width: 14.28%;
}

.calendar_month tr:nth-of-type(2n){
    background-color: #fff;
}

.calendar_month tr:nth-of-type(2n+1){
    background-color: #e0e0e0;
}

.calendar_month td{
    margin: 1px;
    line-height: 50px;
    cursor: pointer;
    color: #555;
    -webkit-transition: background-color 0.4s;
    transition: background-color 0.4s;
}

.calendar_month td:hover{
    background-color: #3499DA !important;
    color: #fff;
}

.calendar_month td:last-of-type{
    background-color: rgba(150,0,0,0.1);
}

.selected_day{
    font-weight: bold;
    color: #fff !important;
    background-color: #99c038 !important;
}

.calendar_day{
    border: 1px solid #8B8C84;
    background: none;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    border-collapse: collapse;
}

.calendar_day th{
    background-color: #8b8c84;
    color: #fff;
    margin: 1px;
    height: 50px;
}

.calendar_day th:first-of-type{
    width: 15%;
}

.calendar_day td{
    background-color: #e0e0e0;
    border: 1px solid #8B8C84;
    margin: 1px;
    color: #555;
    -webkit-transition: background-color 0.4s;
    transition: background-color 0.4s;
}

.calendar_day td:first-of-type{
    line-height: 50px;
}

.calendar_day td:last-of-type:hover{
    background-color: #3499DA !important;
    color: #fff;
    cursor: pointer;
}

.planned{
    text-align: left !important;
    padding: 0 10px;
    color: #fff !important;
    background-color: #99c038 !important;
    height: 25px;
}

.large_button{
    background-color: #c8c8c8;
    height: 40px;
    min-width: 150px;
    width: fit-content;
    max-width: 90%;
    line-height: 40px;
    vertical-align: middle;
    font-size: 16px;
    color: #505050;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
    cursor: pointer;
    display: inline-block !important;
    border: 1px solid #b5b5b5;
    text-align: left;
    margin: 10px;
}

.title{
    display: inline;
    font-size: 23px;
    padding: 5px 10px;
    color: #fff;
    line-height: 30px;
    vertical-align: middle;
}

.title_wrapper{
    float: left;
    display: inline-block;
    width: 18%;
    padding: 15px 0;
}

.navbuttons{
    float: right;
    display: inline-block;
    width: 82%;
    text-align: right;
}

.green_button{
    padding: 0 10px;
    height: 40px;
    min-width: 90px;
    width: fit-content;
    border-radius: 20px;
    background-color: #99c038;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    display: inline-block;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
    cursor: pointer;
    margin: 10px 5px 0 5px;
}

@media screen and (min-width: 1200px) {

    .large_button{
        min-width: 200px;        
    }

    .container2{
        width: 1100px;
        margin: 0 auto;
    }   

    input[type="text"], select{
        margin: 0 10px;
        padding: 5px;
        /*width: 300px;*/
        border: 1px solid #ccc;
        background-color: #fff;
    }

    .input_wide{
        width: 600px !important;
    }

    .input_narrow{
        width: 100px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {

    .title_wrapper{
        width: 25%;
    }

    .navbuttons{
        width: 75%;
    }

    .container2{
        width: 768px;
        margin: 0 auto;
    }

    #nav ul li a{
        font-size: 12px;
        padding: 0 10px;
    }

    .green_button{
        height: 30px;
        border-radius: 15px;
        line-height: 30px;
    }

    input[type="text"], select{
        margin: 0 10px;
        padding: 5px;
        /*width: 150px;*/
        border: 1px solid #ccc;
        background-color: #fff;
    }

    .input_wide{
        width: 320px !important;
    }

    .input_narrow{
        width: 35px !important;
    }

    .table{
        font-size: 12px;
    }
}

@media screen and (min-width: 640px) and (max-width: 767px) {

    .large_button{
        min-width: 200px;
    }

    .container2{
        width: 640px;
        margin: 0 auto;
    }

    input[type="text"], select{
        margin: 0 5px;
        padding: 5px;
        /*width: 200px;*/
        border: 1px solid #ccc;
        background-color: #fff;
    }

    .input_wide{
        width: 430px !important;
    }

    .input_narrow{
        width: 70px !important;
    }
}

@media screen and (max-width: 639px) {

    .container2{
        width: 480px;
        margin: 0 auto;
    }

    input[type="text"], select{
        margin: 0 5px;
        padding: 5px;
        width: 120px;
        border: 1px solid #ccc;
        background-color: #fff;
    }

    .input_wide{
        width: 270px !important;
    }

    .input_narrow{
        width: 35px !important;
    }
}

@media only screen and (max-width: 768px)  {

    .title_wrapper{
        display: none;
    }

    .navbuttons{
        width: 100%;
        text-align: center;
    }

    .label_inside{
        display: inline-block;
        font-family: Myfont-Regular, Arial, Helvetica, sans-serif;
        margin: 0 0 0 3px;    
    }

    .left_frame{
        width: 100%;
        padding: 0;
    }

    .right_frame{
        width: 100%;
        float: left;
        margin: 10px 0;
    }

    .calendar_wrapper{
        width: 100%;
    }

    .calendar_wrapper + .calendar_wrapper{
        margin: 0;
    }

    .green_button{
        height: 30px;
        border-radius: 15px;
        line-height: 30px;
    }

    #nav ul li a{
        line-height: 40px;
    }

    #nav li{
        border: 0;
    }

    /* Force table to not be like tables anymore */
    .table table, .table thead, .table tbody, .table th, .table td, .table tr { 
        display: block; 
    }

    #nav
    {
        position: relative;
    }
    #nav > a
    {
    }
    #nav:not(:target) > a:first-of-type,
    #nav:target > a:last-of-type
    {
        display: block;
    }

    /* first level */

    #nav > ul
    {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
    }
    #nav:target > ul
    {
        display: block;
    }
    #nav > ul > li
    {
        width: 100%;
        float: none;
        box-shadow: none !important;
    }

    /* second level */

    #nav li ul
    {
        position: static;
        border: 0;
    }

    .logout-image{
        display: none;
    }

    .logout-text{
        display: inline-block;
    }


}
