html {
    box-sizing: border-box;
    height: 100%;
    font-family: Helvetica;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding-bottom: 50px;
    height: 100%;
}

.wrapper {
    min-height: 100%;
    position: relative;
}

.head {
    background-image: url("../images/valmar_head.png");
    background-repeat: repeat-x;
    background-size: contain;
    width: 100%;
    height: 100px;
    display: block;
}

.content {
    padding-bottom: 40px;  /*Height of the bottom footer element */
    margin-left: auto;
    margin-right: auto;
    height: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

.drpdown {
    margin-bottom: 20px;
    font-size: large;
    float: left;
}

[class*="dropdown_"] {
    width: auto;
    height: 32px;
    border-radius: 5px;
    }

/* MOBILE ------------------------------------------------------------------- */ 
@media only screen and (max-width: 768px) {
    /*
    [class*="col-"] {
    width: 100%;
    float: left;
    padding: 15px;
    }*/
    
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    
    .logo {
        width: 194px;
        height: 100px;
        padding-top: 10px;
        float: left;
    }

    .foot {
        width: 100%;
        height: 40px;
        padding: 0 0 0 6px;
        background-color: #cccccc;
        position: fixed;
        bottom: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .obrazec {
        margin: 50px 5% 30px 5%;
        padding: 0px 5% 20px 5%;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
    }
    
    .obrazec_choosemachine {
        margin: 50px 5% 30px 5%;
        padding: 0px 2% 10px 2%;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
    }
    
    .obrazec_machine {
        margin: 0 6px 30px 6px;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
    }
    
    .obrazec_modpanel {
        margin: 0 6px 30px 6px;
        width: 98%;
        padding: 0 10px 10px 10px;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
        overflow: auto;
        box-shadow: 0 0 2px #2389F7;
        float: left;
    }
    
    .modpanel_btn {
        float: left;
        margin-right: 15px;
        margin-bottom: 8px;
    }
    
    .menu_modpanel {
        float: left;
        width: 90%;
        margin: 20px 0 0 30px;
        padding-bottom: 2px;
    }
    
    .machine_content {
        width: 60%;
        float: left;
    }
    
    .machine_profile {
        width: 40%;
        height: auto;
        float: left;
    }
    
    .machine_profile_img {
        width: 128px;
        height: auto;
        -webkit-box-shadow:0 4px 10px #BDBDBD;
        -moz-box-shadow:0 4px 10px #BDBDBD;
        box-shadow:0 4px 10px #BDBDBD;
    }
    
    .machine_menu {
        width: 100%;
        height: 35px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .machine_info {
        padding: 10px;
        height: auto;
        width: 100%;
        overflow: auto;
    }
    
    .machine_btn {
        margin: 20px 0 0 30px;
    }
    
    .new_machine_form {
        width: 50%;
        float: left;
    }
    
    .all_tabs {
        height: 33px;
        margin: 20px 3px 0 13px;
    }
}

/* DESKTOP ------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
    
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    
    .logo {
        width: 194px;
        height: 100px;
        padding-top: 10px;
        padding-left: 20%;
        float: left;
    }

    .foot {
        width: 60%;
        height: 40px;
        padding: 0 0 0 12px;
        background-color: #cccccc;
        margin-left: 20%;
        margin-right: 20%;
        position: fixed;
        bottom: 0;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .obrazec {
        margin: 50px 25% 30px 25%;
        padding: 20px 10% 30px 10%;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
        box-shadow: 0 0 2px #2389F7;
    }
    
    .obrazec_choosemachine {
        margin: 50px 25% 30px 25%;
        padding: 0px 2% 35px 2%;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
        box-shadow: 0 0 2px #2389F7;
        position: relative;
    }
    
    .obrazec_machine {
        margin: 0 20% 0 20%;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
        position: relative;
        box-shadow: 0 0 2px #2389F7;
    }
    
    .menu_modpanel {
        width: 70%;
        margin: 20px auto 0 auto;
        padding-bottom: 46px;
    }
    
    .obrazec_modpanel {
        margin: 0 15% 30px 15%;
        width: 70%;
        padding: 0 30px 30px 30px;
        height: auto;
        border: #2389F7 solid 1px;
        border-radius: 8px;
        background-color: #e5e5e5;
        box-shadow: 0 0 2px #2389F7;
        float: left;
    }
    
    .modpanel_btn {
        float: left;
        margin-right: 15px;
        margin-bottom: 8px;
    }
    
    .machine_content {
        height: auto;
        width: 60%;
        float: left;
    }
    
    .machine_profile {
        margin: 0;
        width: 40%;
        height: auto;
        float: left;
    }
    
    .machine_profile_img {
        margin: 0;
        width: 110px;
        height: auto;
        -webkit-box-shadow:0 4px 10px #BDBDBD;
        -moz-box-shadow:0 4px 10px #BDBDBD;
        box-shadow:0 4px 10px #BDBDBD;
    }
    
    .machine_menu {
        width: 100%;
        height: 35px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .machine_info {
        padding: 10px;
        height: auto;
        width: 100%;
        overflow: auto;
    }
    
    .machine_btn {
        margin: 20px 0 0 20%;
    }
    
    .new_machine_form {
        width: 40%;
        float: left;
    }
    
    .all_tabs {
        height: 33px;
        margin: 20px 20% 0 21%;
    }
}

.link_btn {
    width: 20%;
    height: 20%;
}

.btn_logout {
    margin: 6px 6px 0 0;
    float: right;
}

.foot_text {
    float: left;
    font-size: 13px;
    text-align: center;
    margin: 12px 0 0 4px;
}

.machine_name_prefix {
    border-bottom: 1px solid #428bca;
    -webkit-box-shadow:0 4px 10px #BDBDBD;
    -moz-box-shadow:0 4px 10px #BDBDBD;
    box-shadow:0 4px 10px #BDBDBD;
    width: 130px;
    padding: 5px 0 3px 5px;
    background-color: whitesmoke;
}

.machines_table {
    float: left;
}

td {
    min-width: 90px;
    max-width: 150px;
    padding: 2px 8px 1px 8px;
    border: black 1px solid;
    overflow: hidden;
}

.td_drawings {
    cursor: pointer;
}

th {
    border: black 1px solid;
    padding: 2px 8px 1px 4px;
    background-color: #428bca;
    color: white;
}

.sizing {
    max-height: 60px;
}

.hide_td {
    border: none;
    width: 110px;
    background-color: #e5e5e5;
}

.btn_edit {
    float: left;
    margin: 0 4px 2px 0;
}

.btn_new {
    padding: 0 0 15px 15px;
    margin-bottom: -15px;
}

.download_obrazec {
    background-color: whitesmoke;
    padding: 10px 20px;
    margin-bottom: 6px;
    border-bottom: 1px solid #428bca;
    -webkit-box-shadow:0 4px 10px #BDBDBD;
    -moz-box-shadow:0 4px 10px #BDBDBD;
    box-shadow:0 4px 10px #BDBDBD;
}

.new_machine_image {
    width: 50%;
    float: right;
    padding: 30px;
}

.picturebox {
    margin-top: 10px;
    margin-bottom: 10px;
    float: right;
    min-width: 130px;
    max-width: 130px;
    min-height: 150px;
    height: auto;
    border: black 1px solid;
    -webkit-box-shadow:0 4px 10px #BDBDBD;
    -moz-box-shadow:0 4px 10px #BDBDBD;
    box-shadow:0 4px 10px #BDBDBD;
}

.upload_image {
    width: 128px;
    height: auto;
    -webkit-box-shadow:0 4px 10px #BDBDBD;
    -moz-box-shadow:0 4px 10px #BDBDBD;
    box-shadow:0 4px 10px #BDBDBD;
}

.upload_img_text {
    float: right;
    clear: right;
}

.hidden {
    opacity: 0;
}

.upload_img_btn {
    float: right;
    width: 140px;
    height: 40px;
    background-color: #428bca;
    padding: 10px 0 0 0;
    color: white;
    border-radius: 6px;
    clear: right;
    text-align: center;
    overflow: hidden;
}

.upload_form {
    margin-top: 74px;
    float: right;
    clear: right;
    opacity: 0;
}

.thin {
    font-weight: normal;
}

.modpanel_profile_img {
    width: 128px;
    height: auto;
}

.upload_file {
    float: right;
    width: 50%;
    height: auto;
}

.empty_td {
    min-width: 80px;
}

.tabs2 {
    height: 30px;
        width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #428bca;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tabs2:hover {
    height: 33px;
    margin-top: 0;
    padding-top: 8px;
}

.tabs3 {
    height: 30px;
        width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #428bca;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tabs3:hover {
    height: 33px;
    margin-top: 0;
    padding-top: 8px;
}

.tabs4 {
    height: 30px;
      width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #428bca;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
}

.tabs4_active {
    height: 30px;
      width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #0c477a;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
}

.tabs4:hover {
    height: 33px;
    margin-top: 0;
    padding-top: 8px;
}


.tabs5 {
    height: 30px;
    width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #428bca;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
}

.tabs5_active {
    height: 30px;
      width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #0c477a;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
}

.tabs5:hover {
    height: 33px;
    margin-top: 0;
    padding-top: 8px;
}



.tabs6 {
    height: 30px;
     width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #428bca;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
}

.tabs6_active {
    height: 30px;
     width: 14%;
    margin: 3px 2% 0 0;
    padding-top: 5px;
    float: left;
    background-color: #0c477a;
    box-shadow: 0 0 2px #2389F7;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 160ms ease-in-out;
}

.tabs6:hover {
    height: 33px;
    margin-top: 0;
    padding-top: 8px;
}



.faq {
    width: 90%;
    min-height: 70px;
    padding: 10px 20px 10px 20px;
    background-color: whitesmoke;
    text-align: center;
}

#manual_serial {
    width: 150px;
}

.menu_presledek {
    margin-top: 3px;
    margin-bottom: 11px;
    height: 28px;
    border-left: #2389F7 1px solid;
    box-shadow: 0 0 2px #2389F7;
    float: left;
    margin-right: 15px;
}

.btn_link {
    height: 20px !important;
    width: 20px !important;
    display: inline !important;
    font-weight: lighter !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    color: #428bca !important;
    background-color: inherit !important;
    text-decoration: underline !important;
}

.btn_download_faq {
    margin: 20px 0 0 20px;
}

.order_form {
    /*padding-right: 10%;*/
}

.order_input {
    /*float: right;
    clear: both;*/
}