* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    -webkit-font-smoothing: antialiased; 
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.0.3');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #555;
}

body.login {
    background-color: #f5f5f5;
}


/* Blocks */

header {
    width: 100%;
    height: 120px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    border-bottom: 1px solid #d1d1d1;
}

body.login header {
    position: relative;
    margin-bottom: 120px;
    height: 160px;
}

#logo {
    width: 200px;
    height: 120px;
    float: left;
    background-color: #fff;
}

body.login #logo {
    text-align: center;
    width: 100%;
    float: none;
    height: 160px;
}

body.login #logo p {
    color: #444;
    font-size: 16px;
    font-weight: 400;
}

#actionbar {
    height: 120px;
    background-color: #efefef;
    margin-left: 200px;
    padding-left: 20px;
    border-left: 1px solid #d1d1d1;
}

#actionbar h1 {
    padding-bottom: 17px;
}

nav {
    width: 201px;
    height: 100%;
    background: #efefef url(../img/menu.jpg) repeat-y right;
    position: fixed;
    left: 0;
    top: 120px;
}

nav ul {
    list-style-type: none;
    margin-top: 15px;
}

nav ul li {
    height: 30px;
    line-height: 30px;
}

nav ul li a,
nav ul li a:link,
nav ul li a:visited {
    color: #444;
    text-decoration: none;
    padding-left: 20px;    
    display: block;    
}

nav ul li a:hover {
    background-color: #e2e2e2;
}

nav ul li a.active {
    color: #FFF;
    background-image: url(../img/menu-active.png);
    background-repeat: no-repeat;
    background-position: right;
}

#main {
    padding-top: 140px;
    margin-left: 220px; 
    padding-bottom: 30px;   
}

#login {
    width: 395px;
    margin: 0 auto;
}

#login form {
    width: 350px;
    background-color: #fff;
    padding: 20px;
    border-radius:3px;
    box-shadow:0 1px 2px #aaa;
    border-top: 1px solid #d1d1d1;
}

#login label {
    margin-bottom: 15px;
    display: block;
}

#login form input {
    width: 340px;
    display: block;
    margin-top: 5px;
    font-size: 18px;
}

#login .reminder-link {
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
}

.captcha {
    margin: 10px 0;
}

.alert-error {
    color: #A94442;
    background-color: #F2DEDE;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #EBCCD1;
    border-radius: 4px;
    text-align: center;
    text-shadow: 0 1px #FFF;
}

.alert-ok {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;    
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    text-align: center;
    text-shadow: 0 1px #FFF;
}

#alert-info {
    position: absolute;
    top: -45px;
    left: 0;
    z-index: 999;
    text-align: center;
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-shadow: 0 1px #FFF;    
    color: #3C763D;
    background-color: #DFF0D8;
    border-bottom: 2px solid #AFCA98;
}

.message-error {
    color: #A94442;
    background-color: #F2DEDE;
    padding: 5px 15px;
    border: 1px solid #EBCCD1;
    border-radius: 4px;
    text-shadow: 0 1px #FFF;
    display: inline-block;
    margin-bottom: 20px;
    margin-left: 135px;
}

.notice {
    font-size: 11px;
    font-style: italic;
    color: #999;
    margin-left: 10px;
}

.home-text {
    text-align: center;
    padding-top: 100px;
}

/* Buttons */
a.btn,
a.btn:link,
a.btn:visited,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
.languages a,
button[type="submit"] {
    font-size: 12px;
    line-height: 18px;
    height: 18px;
    display: inline-block;
    padding: 6px 12px;
    color: #6F6F6F;
    text-align: center;   
    border-radius: 4px;
    margin-right: 10px;
    text-shadow: 0 1px #FFF;
    border: 1px solid #c4c4c4;
    background: #ddd;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#ddd));
    background-image: -webkit-linear-gradient(to bottom, #f8f8f8, #ddd);
    background-image:    -moz-linear-gradient(to bottom, #f8f8f8, #ddd);
    background-image:      -o-linear-gradient(to bottom, #f8f8f8, #ddd);
    background-image:         linear-gradient(to bottom, #f8f8f8, #ddd);
    cursor: pointer;
}

a.btn:hover,
.languages a:hover {
    background: #f5f5f5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#EBEBEB));
    background-image: -webkit-linear-gradient(to bottom, #fff, #EBEBEB);
    background-image:    -moz-linear-gradient(to bottom, #fff, #EBEBEB);
    background-image:      -o-linear-gradient(to bottom, #fff, #EBEBEB);
    background-image:         linear-gradient(to bottom, #fff, #EBEBEB);
}

a.btn:before,
a.btn-primary:before {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    vertical-align: -1px;
    padding-right: 5px;
}

a.ic-back:before {content: "\f053"}
a.ic-add:before {content: "\f067"}
a.ic-photos:before {content: "\f030"}
a.ic-delete:before {content: "\f00d"}
a.ic-download:before {content: "\f019"}
a.ic-tags:before {content: "\f02c"}

a.btn-mini,
a.btn-mini:link,
a.btn-mini:visited {
    padding: 4px 6px;
    height: 14px;
    line-height: 14px;
    font-size: 11px;
    margin-bottom: 10px;
}

.languages {
    height: 27px;
    margin: 10px 0 20px 0;
}

.languages a {
    padding: 4px 10px;
    height: 16px;
    line-height: 16px;
    margin: 0;
}

.languages>a:first-child:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.languages>a:first-child {
    margin-left: 0;
}

.languages>a {
    position: relative;
    float: left;
}

.languages>a:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.languages a+a {
    margin-left: -1px;
}

.languages>a:last-child:not(:first-child) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/* Forms */
.form-row .form-col {
    margin-left: 135px;
    margin-bottom: 15px;
    width: 600px;
}
.form-row label {
    width:120px;
    float: left;
    text-align: right;
    padding-top: 5px;
}

.form-row label.nopadding {
    padding: 0;
}

.form-col label {
    margin-bottom: 5px;
    width: auto;
    float: none;
    text-align: left;
    padding: 0;
    display: block;
}

input,
textarea,
select {
    border: 1px solid #CCC;
    padding: 5px;
    width: 250px;
    color: #444;
    font-size: 12px;    
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #BBB;    
    box-shadow: 0 0 6px #CCC;
}

input.w1 { width: 40px}
input.w2 { width: 80px}
input.w3 { width: 120px}
input.w3 { width: 120px}
input.w4 { width: 160px}
input.w5 { width: 200px}

input.datepicker {
    width: 80px;
}

input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    padding: 0;
    margin-right: 5px;
    vertical-align: top;
}

input[type="file"] {
    border: 0;
    width: auto;
    padding: 0;
    color: #888;
}

button[type="submit"] {
    width: auto;
    height: auto;
}

button[type="submit"].save:before {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    /*vertical-align: -1px;*/
    content: "\f00c";
    padding-right: 5px;
}

input.search {
    background: #fff url(../img/search.png) no-repeat left center;
    padding-left: 28px;
}

img.image {
    background-color: #efefef;
    border: 1px solid #d1d1d1;
    padding: 10px;
    display: block;
    margin-bottom: 10px; 
}

/* Tables */
.table-data {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0;
    border: 1px solid #d1d1d1;
    box-shadow:0 1px 2px #aaa;
}

.table-data th,
.table-data td {
    text-align: left;
    vertical-align: top;
    padding: 6px 5px;
}

.table-data th {
    background-color: #F5F5F5;
    border-bottom: 2px solid #D1D1D1;
    font-weight: 500;
    color: #353535;
}

.table-data td {
    background-color: #fff;
    border-bottom: 1px solid #DDD;
}

.table-data tr.inactive td {
    background-color: #f2dede;
}

.table-data tr:hover td {
    background-color: #f1f5fa;
}

.table-data tr:hover td.sort,
.table-data tr:hover td.actions {
    background-color: #F5F5F5;
}

.table-data td a,
.table-data td a:link,
.table-data td a:visited {
    text-decoration: none;
    color: #555;
    display: block;
    padding-right: 40px;
}

.table-data td.sort,
.table-data tr.inactive td.sort {
    width: 13px;
    background: url(../img/sort.png) no-repeat center;
    cursor: move;
    background-color: #F5F5F5;
    border-right: 1px solid #E5E5E5;
}

.table-data td.actions,
.table-data tr.inactive td.actions {
    background-color: #f5f5f5;
    border-left: 1px solid #e5e5e5;
    padding: 0;
    width: 46px;
}

.table-data td.actions a,
.table-data td.actions a:link,
.table-data td.actions a:visited {
    float: left;
    display: block;
    width: 23px;
    height: 28px;
    padding: 0;
    text-indent: -9999px;
    background-position: 0 0;
    background-repeat: no-repeat;
}

.table-data td.actions a:hover {
    background-position: -23px 0;
}

.ac-edit { background-image: url(../img/ac-edit.png)}
.ac-delete { background-image: url(../img/ac-delete.png)}

/* General */
a,
a:link,
a:visited {
    text-decoration: none;
    color: #444;
}

a img {
    border: 0;
}

h1 {
    font-weight: 300;
    font-size: 28px;
    font-style: normal;
    color: #535353;
    padding: 10px 0;
}

h1 span {
    padding-left: 14px;
    font-size: 14px;
    color: #888;
}

h1 span:before {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
    vertical-align: -1px;
    content: "\f105";
    padding-right: 5px;
}

h1 span a,
h1 span a:link,
h1 span a:visited {
    text-decoration: none;
    color: #888;
}

h1 span a:hover {
    color: #555
}

h2 {
    font-weight: 300;
    font-size: 20px;
    font-style: normal;
    color: #999;
    margin-bottom: 15px;
    border-left: 4px solid #d1d1d1;
    padding-left: 10px
}

/* Utils */
.center {
    text-align: center;
}

.mgb5 {
    margin-bottom: 5px;
}

.no-results {
    display: inline-block;
    background-color: #efefef;
    padding: 5px 15px;
    border-radius: 5px;
    margin: 20px;
}

/* Sortable */
.ui-sortable-helper td.actions {
    display: none
}
.ui-sortable-helper td {
    background-color: #f8f1ce;
    border: 1px solid #dfd192;
}

/* Photos sortable */
.photos-sortable {
    margin-top: 20px;
}

.photos-sortable .mini {
    background-color: #efefef;
    border: 1px solid #d1d1d1;
    padding: 10px;
    margin: 0 15px 15px 0;
    float: left;
}

.photos-sortable .photo {
    cursor: move;
    width: 100%;
}

.photos-sortable .drag {
    background-color: #f7edcf;
    border: 1px dashed #b19749;
}

.photos-sortable .actions a,
.photos-sortable .actions a:link,
.photos-sortable .actions a:visited {
    float: left;
    display: block;
    width: 23px;
    height: 28px;
    padding: 0;
    text-indent: -9999px;
    background-position: 0 0;
    background-repeat: no-repeat;
}

.photos-sortable .actions a:hover {
    background-position: -23px 0;
}

/* Modal */
#modal-saving p {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
}

#modal-saving .modal-dialog {
    width: 180px;
    height: 140px;
    background-color: #464646;
    border-radius: 10px;
    opacity: 0.85;
}