/*
 Theme Name:   Twenty Seventeen Child
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twenty-seventeen-child
*/

.button_style{
    background-color: #222;
    border: 0;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
    padding: 1em 2em;
    text-shadow: none;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
    font-size: 12px;
}

.container{
    max-width:1240px;
    width:100%;
    margin:0 auto;
}

.main_title{
    text-align: center;
    margin-top:20px;
}

.request_type_3{
    background-color: yellowgreen;
}

.request_type_4{
    background-color: yellow;
}

#page-inner {
    margin: 0;
}
#wrapper{
    margin-top: 0;
}
.gform_footer {
    text-align: center;
}
#gform_submit_button_1 {
    display: inline-block;
    margin: 0;
}
#field_1_34 .show_details {
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.2);
    padding: 20px;
    margin: 20px 0;
    background-color: #fafafa;
}
#field_1_16 .show_details {
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.2);
    padding: 20px;
    margin: 20px 0;
    background-color: #fafafa;
}
.fixed-table-header {
    display: none !important;
}
thead {
    background-color: #fafafa;
}
.pull-left {
    display: none;
}
.pagination {
    margin: 0; padding: 0;
    border-top: 0;
}
.site-info {
    text-align: center;
    width: 100%;
}
footer {
    background-color: #fafafa;
}
.active-link {
    background-color: transparent;
}
#insert_customer, #insert_plant, #insert_plant_element {
    display: inline-block;
    padding: 4px 16px;
    background-color: #333;
    box-sizing: border-box;
    color: #fff;
    border-radius: 2px;
    margin-top: 32px;
    margin-right: 16px;
}
#insert_customer:hover, #insert_plant:hover, #insert_plant_element:hover {
    background-color: #767676;
    cursor: pointer;
}
#close_customer, #close_plant {
    display: inline-block;
    color: #666;
    background-color: rgba(0,0,0,0.1);
    box-sizing: border-box;
    padding: 4px 16px;
    border-radius: 2px;
}
#close_customer:before, #close_plant:before {
    content: "\f00d";
    font-family: Fontawesome;
    margin-right: 8px;
}
#close_customer:hover, #close_plant:hover {
    background-color: rgba(0,0,0,0.2);
    cursor: pointer;
}
button:focus {
    background: inherit;
}
.add_field_button {
    padding: 0;
    background-color: transparent;
    color: red;
    margin-bottom: 8px;
}
.add_field_button:hover {
    background-color: transparent;
    color: #990000;
}
.add_field_button:before {
    content: "\f055";
    font-family: Fontawesome;
    margin-right: 8px;
}
.input_fields_wrap .element_add:first-child {
    margin-top: 16px;
}
a.remove_field {
    color: red;
}
a.remove_field:hover {
    color: #990000;
}



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

    .content-brand {
        display: none;
    }

    .menu-button, .close-button, .menu-wrap {
        display: none;
        text-indent: 0 !important;
    }    
    #wrapper {
        padding-left: 280px;
    }
    .navigation {
        width: 280px;
        height: 100%;
        position: fixed;
        top: 0; left: 0;
        background-color: #ececec;
    }
    .navigation .navbar-brand {
        width: 100%;
        float: none;
        display: block;
        height: auto !important;
        margin-bottom: 32px;
    }
    .navigation .navbar-brand img {
        display: block;      
    }
    .nav li a {
        border-bottom: 1px solid #d9d9d9;
        background-color: #ececec;
        transition: all .3s ease-in-out;
    }
    .nav li a:hover {
        background-color: rgba(0,0,0,0.1);
    }
    .nav li.active-link a {
        border-left: 4px solid red;
    }
    .nav li a {
        color: #444;
    }
    .nav li.active-link a {
        color: red;
    }

}

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

    .nav li.active-link a {
        color: red;
    }

    .menu-button, .close-button, .menu-wrap {
        text-indent: 0 !important;
    }
    .menu-button .fa, .close-button .fa {
        color: #444;
        font-size: 1em !important;
    }
    .close-button {
        line-height: 1;
        padding: 0;
        font-size: 1.1em;
    }
    .menu-button:hover .fa, .close-button:hover .fa {
        color: #ececec;
    }    

    .nav {
        padding-top: 32px;
    }

    .content-brand {
        position: absolute;
        z-index: 5;
        top: 30px;
        right: 36px;
        max-width: 70px;
    }

    #page-inner {
        padding-top: 130px;
        padding-left: 80px;
    }

    .main_title {
        text-align: left;
        font-size: 24px;
        padding-left: 15px;
    }

    .navigation {
        display: none;
    }

    html, 
    body, 
    #wrapper, 
    .content-wrap {
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    #wrapper{
        background: #373a47;
    }

    .menu-wrap a {
        color: #444;
    }

    .menu-wrap a:hover,
    .menu-wrap a:focus {
        color: red;
    }

    .content-wrap {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .content {
        position: relative;
        background: #b4bad2;
    }

    .content::before {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
        content: '';
        opacity: 0;
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
        -webkit-transition: opacity 0.4s, -webkit-transform 0s 0.4s;
        transition: opacity 0.4s, transform 0s 0.4s;
        -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    }

    /* Menu Button */
    .menu-button {
        position: fixed;
        z-index: 1000;
        margin: 1em;
        padding: 0;
        width: 2.5em;
        height: 2.25em;
        border: none;
        text-indent: 2.5em;
        font-size: 1.5em;
        color: transparent;
        background: transparent;
    }

    .menu-button:hover {
        opacity: 0.6;
    }

    /* Close Button */
    .close-button {
        width: 1em;
        height: 1em;
        position: absolute;
        right: 1em;
        top: 1em;
        overflow: hidden;
        text-indent: 1em;
        border: none;
        background: transparent;
        color: #444;
    }
    .close-button i {
        color: #444;
    }

    /* Menu */
    .menu-wrap {
        position: absolute;
        z-index: 1001;
        width: 300px;
        height: 100%;
        background: #ececec;
        padding: 2.5em 1.5em 0;
        font-size: 1.15em;
        -webkit-transform: translate3d(-320px,0,0);
        transform: translate3d(-320px,0,0);
        -webkit-transition: -webkit-transform 0.4s;
        transition: transform 0.4s;
        -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    }

    .menu, 
    .icon-list {
        height: 100%;
    }

    .icon-list {
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0);
    }

    .icon-list a {
        display: block;
        padding: 0.8em;
        -webkit-transform: translate3d(0,500px,0);
        transform: translate3d(0,500px,0);
    }

    .icon-list,
    .icon-list a {
        -webkit-transition: -webkit-transform 0s 0.4s;
        transition: transform 0s 0.4s;
        -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    }

    .icon-list a:nth-child(2) {
        -webkit-transform: translate3d(0,1000px,0);
        transform: translate3d(0,1000px,0);
    }

    .icon-list a:nth-child(3) {
        -webkit-transform: translate3d(0,1500px,0);
        transform: translate3d(0,1500px,0);
    }

    .icon-list a:nth-child(4) {
        -webkit-transform: translate3d(0,2000px,0);
        transform: translate3d(0,2000px,0);
    }

    .icon-list a:nth-child(5) {
        -webkit-transform: translate3d(0,2500px,0);
        transform: translate3d(0,2500px,0);
    }

    .icon-list a:nth-child(6) {
        -webkit-transform: translate3d(0,3000px,0);
        transform: translate3d(0,3000px,0);
    }

    .icon-list a span {
        margin-left: 10px;
        font-weight: 700;
    }

    /* Shown menu */
    .show-menu .menu-wrap {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        -webkit-transition: -webkit-transform 0.8s;
        transition: transform 0.8s;
        -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    }

    .show-menu .icon-list,
    .show-menu .icon-list a {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        -webkit-transition: -webkit-transform 0.8s;
        transition: transform 0.8s;
        -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    }

    .show-menu .icon-list a {
        -webkit-transition-duration: 0.9s;
        transition-duration: 0.9s;
    }

    .show-menu .content::before {
        opacity: 1;
        -webkit-transition: opacity 0.8s;
        transition: opacity 0.8s;
        -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

}