/******************/
/* FRAMEWORK 5.5  */
/******************/

html, body
{
    height: 95.5%;
    margin: 0px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

.content-wrapper
{
    background-color: white !important;
}

hr
{
    margin: 20px 0;
    border: 0;
    border-top: 1px solid silver;
    border-bottom: 1px solid whitesmoke;
}

hr.slim
{
    margin-top: 10px;
    margin-bottom: 10px;
}

a
{
    text-decoration: none;
}

.popover-table
{
    border: 1px solid #e0e0e0;
    border-collapse: collapse;
}

.popover-table td
{
    border: 1px solid #e0e0e0;
    padding: 10px;
}

.tframe
{
    margin: 10px;
    padding-top: 5px !important;
    padding-bottom: 8px !important;
    padding-left: 5px !important; /* FAM */
    padding-right: 5px !important;
    border-radius: 10px !important; /* FAM */
    border: 1px solid #ddd !important;
}

.tframe legend
{
    background: white;
    color: #fff;
    padding-top: 2px;
    padding-bottom: 2px;
    box-shadow: 0 0 0 1px #C7C7C7;
    margin-left: 3px;
    padding-right: 5px;
    margin-right: 5px;
    height: 28px;
}

.tframe legend label
{
    padding-left: 3px;
    font-weight: bold;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus
{
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted 9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input
{
    display: inline-block;
    height: 28px;
    padding: 4px;
    *font-size: 14px;
    line-height: 20px;
    color: #555555;
    vertical-align: middle;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 1px solid #ccc;
}

.tformtitle + tr > td
{
    padding-top: 15px !important;
}

.ui-datepicker-trigger
{
    height: 28px !important;
}

.tseekbutton
{
    height: 28px !important;
    border-radius :0 !important;
}

.tseekbutton i
{
    padding-left:2px;
}

span.tdate-group-addon, span.input-group-addon.tcolor {
  height: 28px !important;
  border-radius:0 !important;
}

.tdate-group .tfield, .tdate-group .tfield_disabled
{
    border-radius: 0;
}

.input-group.color-div input {
    border-radius: 3px 0 0 3px !important;
}

span.tdate-group-addon > i.fa-clock-o, span.tdate-group-addon > i.glyphicon-calendar {
  width:24px !important;
  padding-top:2px;
}

.panel form[type="bootstrap"] .ttd
{
    display: inline-block;
    margin-top: 7px;
}

.login-avatar
{
    width: 35px;
    height: 28px;
    padding: 6px 12px;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-right: 0;
    
}

select.tcombo
{
    border: 1px solid #ccc !important;
    border-radius: 0;
}

select.tcombo:not([multiple='1'])
{
    height: 28px;
}

.tfield:focus
{
    border-color: #3c8dbc !important;
    box-shadow: none !important;
    border-radius         : 0;
    -webkit-border-radius : none !important;
    -moz-border-radius    : none !important;
    -webkit-box-shadow : none !important;
       -moz-box-shadow : none !important;
            box-shadow : none !important;
}

textarea
{
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    background: white;
    background-image: white;
	padding-bottom: 4px;
}

label
{
    *margin-bottom: 5px;
}

label, input, button, select, textarea
{
    font-size: 13px;
    font-weight: normal;
    line-height: 20px;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus
{
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted 9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button
{
    font-size: 12px;
    margin: 0px;
}

.ui-widget
{
    font-family: inherit;
    font-size: inherit;
}

.ui-dialog .table>tbody>tr>td
{
    padding: 4px;
    vertical-align: middle;
}

.ui-dialog .panel .panel-body
{
    padding: 8px;
    padding-bottom: 4px;
}

.ui-dialog .window_modal
{
    padding:0.2px;
}

.ui-dialog .window_modal .panel
{
    margin-bottom:0;
    border-top:0;
    border-radius:0;
    overflow:hidden;
}

.ui-dialog .ui-dialog-titlebar
{
    margin-bottom: 0;
}

.tformtitle + tr > td
{
    padding-top: 15px !important;
}

.tformtitle > td
{
    background-color: #3c8dbc !important;
    padding: 8px 0px 8px 5px !important;
}

.tformtitle > td > label
{
    color: white !important;
}

.tformaction > td
{
    *padding: 12px !important;
}

.tform > table
{
    background: #fff;
    border: 1px solid #C6C6C6 !important;
    padding: 0px !important;
}

.tform
{
    background: white !important;
    border: none !important;
    border-radius: none !important;
    padding: 0px !important;
    margin-bottom: 20px !important;
}

.tdatagrid_head tr td
{
    height: 34px;
}

.tdatagrid_body tr td
{
    height: 30px;
}

.tdatagrid_body tr td input
{
    height: 24px;
    margin: 0;
    padding: 0px;
    padding-left: 3px;
    padding-right: 3px;
}


.navbar-default .navbar-brand
{
    *font-family: 'Open Sans';
}

.sidebar
{
    *font-family: 'Open Sans';
}

.tbreadcrumb li span
{
    *font-family: 'Open Sans';
    font-size: 10pt;
}

.navbar-right {
    margin-right: 0 !important;
}

.badge-notify{
   background: #E16D6D;
   position:relative;
   top: -12px;
   left: -12px;
}

ul.navbar-top-links > li.dropdown >a {
    background: inherit;
}

ul.navbar-top-links > li.dropdown > a:hover {
    background: #4A9FE0;
}

ul.navbar-top-links .open>a, ul.navbar-top-links .open>a:hover, ul.navbar-top-links .open>a:focus {
    background: #4A9FE0;
}

@media only screen and (min-width: 501px) {
    #search-box {
        display:inline !important;
        float:left;
    }
}

@media only screen and (max-width: 500px) {
    #search-box {
        display:none !important;
    }
    
    ol.tbreadcrumb li 
    {
        padding: 0;
    }
    
    .tbreadcrumb li span
    {
        font-size: 8pt;
    }
    
    #div_breadcrumbs > ol > li:nth-child(1)
    {
        display: none;
    }
    
    ol.tbreadcrumb li a
    {
        padding-right: 0.75em;
    }
}

@media only screen and (max-width: 550px) {
    .pagination>li>a, .pagination>li>span {
        padding: 6px;
    }
}


.navbar-custom-menu > .navbar-nav {
    float: right;
}

.treeview ul
{
	background: none;
}
.sidebar-menu .treeview li, .sidebar-menu .treeview ul
{
    background: none;
    overflow: hidden;
    white-space: normal;
}

.select2-container--default .select2-selection
{
    padding-left: 4px !important;
}

input.select2-search__field
{
    height: 20px;
}

.tform
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.tform .tformtitle > td:first-child
{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.tform .tformtitle > td:last-child
{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

table.tdatagrid_table
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

#form_login table > tbody > tr.tformtitle > td
{
    text-align: center;
}

#form_login table > tbody > tr.tformtitle > td > label
{
    padding: 0;
    padding: 8px;
    font-size: 17pt;
}

.panel-default>.panel-heading
{
    border-top: 1px solid #797979;
    background: #f8f8f8;
    min-height: 45px !important;
    padding: 7px !important;
}

.panel-footer
{
    background: #f8f8f8;
}

.btn:not(.btn-link):not(.btn-circle) i
{
    font-size: 12px !important;
    position: initial !important;
    top: initial !important;
}

button.btn-default
{
    *height:30px;
}

button.btn-primary
{
    color: white;
}

.panel > .panel-footer > .tpagenavigation, .panel > .panel-footer > .tpagenavigation_resume
{
    padding-top:0;
}

.left-mailbox {
    float: left; 
    width: 160px;
    margin-right: 10px;
}

.right-mailbox { 
    overflow: hidden;
}

@media screen and (max-width: 500px) {
    .left-mailbox { 
        float: none;
        width: auto;
        margin-right:0;
    }
}

.ui-dialog .table tbody tr td, .table tbody tr th
{
    padding: 8px !important;
    border-bottom: 0 !important;
}

.ui-dialog .panel-default>.panel-heading
{
    border-top: 0;
    background: #f8f8f8;
}

input[type="radio"], input[type="checkbox"]
{
    margin-right: 4px !important;
}

.tcheckgroup_label, .tcheckgroup_label > input
{
    cursor:pointer;
}


/* Compatibilidade de cores para o builder */
.bg-red {
  background-color: #F44336 !important;
  color: #fff; }
.bg-pink {
  background-color: #E91E63 !important;
  color: #fff; }
.bg-purple {
  background-color: #9C27B0 !important;
  color: #fff; }
.bg-deep-purple {
  background-color: #673AB7 !important;
  color: #fff; }
.bg-indigo {
  background-color: #3F51B5 !important;
  color: #fff; }
.bg-blue {
  background-color: #2196F3 !important;
  color: #fff; }
.bg-light-blue {
  background-color: #03A9F4 !important;
  color: #fff; }
.bg-cyan {
  background-color: #00BCD4 !important;
  color: #fff; }
.bg-teal {
  background-color: #009688 !important;
  color: #fff; }
.bg-green {
  background-color: #4CAF50 !important;
  color: #fff; }
.bg-light-green {
  background-color: #8BC34A !important;
  color: #fff; }
.bg-lime {
  background-color: #CDDC39 !important;
  color: #fff; }
.bg-yellow {
  background-color: #ffe821 !important;
  color: #fff; }
.bg-amber {
  background-color: #FFC107 !important;
  color: #fff; }
.bg-orange {
  background-color: #FF9800 !important;
  color: #fff; }
.bg-deep-orange {
  background-color: #FF5722 !important;
  color: #fff; }
.bg-brown {
  background-color: #795548 !important;
  color: #fff; }
.bg-grey {
  background-color: #9E9E9E !important;
  color: #fff; }
.bg-blue-grey {
  background-color: #607D8B !important;
  color: #fff; }
.bg-black {
  background-color: #000000 !important;
  color: #fff; }
.bg-white {
  background-color: #ffffff !important;
  color: #fff; }

input[widget="tslider"] {
    margin: auto;
}

input[widget="tspinner"] {
    border:0;
}

input[widget="tfile"], input[widget="tmultifile"] {
    padding:2px;
    height: 28px;
}

select.tcombo {
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='17' height='17' viewBox='0 0 24 24'><path fill='%23444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>") !important;
    background-position: 100% 50%;
    background-repeat: no-repeat;
    padding-left: 5px;
}

.sourcecodewrapper
{
    background: #262722;
    font-weight:bold;
    border-radius:3px;
    padding:8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    overflow-x: auto;
}

.tsourcecode code
{
    font-family: Andale mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Lucida Console, Monaco, Consolas, Droid Sans monospace, Monospace;
    line-height: normal;
    background: #262722;
}

.file-response-icon {
    position: absolute;
    padding-left: 3px;
    padding-top: 3px;
}

.input-data-search
{
    box-shadow:none;
    border-radius: 0;
    border: 1px solid #afafaf;
}

.input-data-search:focus
{
    border: 1px solid #8C8CF9;
}

.fc-scroller
{
    overflow-x: visible !important;
}

#envelope_messages li.header
{
    font-weight: bold;
    text-align: center;
}

#envelope_notifications li.header
{
    font-weight: bold;
    text-align: center;
}

.little-float-button {
    position: fixed;
    width: 30px;
    height: 30px;
    bottom: 40px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 20000;
    font-size: 100%;
    color: white;
    right: 10px;
}

.little-float-button.disabled {
    background-color: gray;
}

.little-float-button:hover, .little-float-button:focus {
    color: white;
}

.little-float-button .internal-float-button {
    margin-top: 8px;
}

div > div.panel > .panel-body {
    padding: 10px;
}

.fb-field-container:after {
    content: '';
    display: block;
    clear: both;
}



/******************/
/*     CUSTOM     */
/******************/

.content-wrapper
{
	overflow: overlay;
}

/* classe da tela - centralização */
.system_container 
{
    margin: auto;
	display: grid;
    width: 100% !important;
    float: center; /* Alinhamento da janela principal em relação a tela/monitor */
    text-align: left; /* Alinhamento do texto na tela principal */
	padding-bottom: 10px;
}

/* estilo da barra de navegação */
.navbar-custom-menu > .navbar-nav {
    float: right;
}
/* component treeview*/ 
.treeview li .file
{
	padding-left: 10px;
}
.treeview li.collapsable, .treeview li.expandable
{
	min-height: 25px;
}

/* side-bar menu */
.treeview a
{
    padding: 4px !important;
}
.sidebar-menu>.treeview li
{
    padding: 0px;
}
.treeview-menu>li>a>img
{
    margin: 0px 5px 0px 5px;
}
ul.sidebar-menu>li>a>img
{
    margin: 4px 8px 4px 4px !important;
}
ul.treeview-menu>li>a>img
{
    margin: 1px 6px 0px 10px !important;
}

/* estilo para breadcrumbs */
#div_breadcrumbs
{
	background-color: #f5f5f5;
    border-radius: 0px !important;
	opacity: 0.7 !important;
}
.tdatagrid_group
{
	background-color: #bbbbbb !important;
}
.tbreadcrumb li span
{
    font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif !important;
    font-size: 14px;
	color: #fff;
	text-shadow: none !important;
}

/* estilo para alertas */
.talert
{
    border-radius: 0px !important;
	height: 36px !important;
	padding-top: 5px !important;
	opacity: 0.7;
}

/* componentes diversos do formulario */
.select2
{
	margin-bottom: -1px;
	padding-top: 0px !important;
	padding-bottom: 2px !important;
}
.select2-selection
{
	text-align: left;
	*height: 28px !important;
	*padding-top: 4px !important;
	*padding-left: 6px !important;
}
.select2-selection--single, .select2-selection__arrow {
    height: 28px !important;
	padding: 3px 12px 0px 6px !important;
}
select, .uneditable-input,
input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="*search"], input[type="tel"], input[type="color"]
{
	height: 28px !important;
    border: 1px solid #ccc !important;
    border-radius: 0px !important;
	color: #333;
}
.select2-search__field
{
	border: none !important;
}
span.select2-selection__placeholder
{
	display: none;
}
.ui-spinner
{
    border-top-left-radius:0px !important;
    border-bottom-left-radius:0px !important;
	height: 28px !important;
}
.ui-spinner-input
{
    margin-top: -1px !important;
	margin-left: -1px !important;
}
.ui-accordion-content
{
	display: table;
}
.ui-accordion-content-active
{
	display: table !important;
	padding: 0.5em 4em 0.5em 0em !important;
}

/* ajustes para datagrids */
#datapage
{
	width: 100%;
	margin: auto;
}
table.tdatagrid_table
{
	background: #FFFFFF;
}
th.tdatagrid_action, th.tdatagrid_col
{
    min-width: 28px;
	padding-left: 4px !important;
	padding-right: 5px !important;
}
.tdatagrid_cell
{
	padding: 2px 10px !important;
	padding-left: 5px !important;
	padding-right: 5px !important;
}
.tpagenavigation
{
	text-align: center;
}

/* addons */
.input-group
{
	border-collapse: collapse;
}
div.color-div .tfield, .tseekbutton, .input-group-addon, .tdate-group-addon
{
    *height: 28px !important;
}

/* classe da linha do form */
.tcheckgroup_label
{
	display: inline-flex; /* importante para pesquisa */
	*margin-right: 2px;
}

/* classe de texto */
.label
{
	white-space: normal !important;
    font-weight: normal;
	text-align: right;
	float: right;
    font-size: 13px !important;
	*padding-top: 5px;
	width: 150px;
    color: #333;
}

/* classe para descrição nos formularios */
.descript
{
    text-align: center;
}

/* estilo dos compromissos da agenda */
.fc-event
{
	border-left-width: 6px;
    background-color: #bbb;
    border-color: #aaa;
}
/* estilo para TCalendar */
.calendar-selected
{
	background-color: #DEDEDE;
}

/* estilo para o fullscreen do htmleditor */
.fullscreen
{
    margin-top:50px !important;
    margin-left:50px !important;
    padding-right:50px !important;

}

/* estilo para formulário especiais */
.tformtitle > td
{
	background-color: #ddd !important;
}
.note-editor
{
	margin-bottom: 0px !important;
}
.panel-heading
{
	background-color: #ddd !important;
}
.panel-body
{
	padding: 0px 5px;
}
.nav-tabs>li>a
{
	padding: 5px 10px;
	color: #888;
}
@media screen and (-webkit-min-device-pixel-ratio:0)
{
	.nav-tabs>li>a
	{
		margin-bottom: -4px;
	}
}

/* estilo para botões específicos */
.btn
{
	opacity: 0.85 !important;
}
.btn:disabled
{
	opacity: 0.5 !important;
}
.btn.btn-default 
{
    *background: #DDDDDD;
}
.btn-help
{
    white-space: nowrap; /* Não habilita quebra de linha */
    padding: 0px 0px 6px 6px !important; /* Margem do botão de ajuda */
    border: 0px !important;
    border-spacing: 0px !important;
    height: 26px;
}
.btn-comment
{
    white-space: pre-wrap; /* Habilita quebra de linha */
    font-size: 12px; /* Tamanho da fonte do menu */
    padding-left: 5px !important; /* Margem do botão de ajuda */
    padding-top: 2px !important; /* Margem do botão de ajuda */
    border: 0px !important;
    border-spacing: 0px !important;
    vertical-align: middle !important;
    display: table-cell;
}

/* classe da tela de ajuda */
.help /**/
{
	color: #333333; /* Cor da Fonte */
    font-family: sans-serif, arial, verdana; /* Familia da fonte */
    font-size: 8pt; /* Tamanho da fonte da janela de help */
    font-weight: normal;
}

/* otimização da tela - menor que 640px considera mobile */
@media only screen and (max-width: 640px) 
{
	.treeview-menu>li>a, .tbreadcrumb li span
	{
		font-size: 10px !important;
	}
	body, .tdatagrid_cell, .tdatagrid_action, .tdatagrid_col, label, button, select2, textarea,
	select, .select2-selection, textarea, input, .uneditable-input
	{
		font-size: 10px !important;
	}
	input, button, select2, textarea, .select2-container,
	select, textarea, .uneditable-input
	{
		width: auto;
		max-width: 200px;
		margin-left: 6px !important;
	}
	input.login
	{
		margin-left: 0px !important;
	}
	.tdatagrid_action, .tdatagrid_col
	{
		min-width: 16px;
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	.tdatagrid_cell
	{
		padding: 2px 4px !important;
	}
	.btn, .btn-default
	{
		font-size: 10px;
	}
	.btn > img, .btn > span > img, .tdatagrid_cell > a > img
	{
		max-width: 16px !important;
	}
	.btn-help, .btn-comment
	{
		display: none !important;
	}
	.line
	{
		display: block !important;
	}
	.label
	{
		*margin-left: 6px;
		width: 80px;
		float: none;
	}
}



/******************/
/*     SITE       */
/******************/

.MenuV
{
    list-style: none;
    float: left;    
}
.MenuH
{
    width: 100%;
    height: 80px;
    display: inline-table;
    text-align: center;
    background-color: #3c8dbc; 
    *border-radius: 10px;    
}
.MenuH ul li 
{ 
    margin: 0px 0px 0px 0px;    
    display: inline;
}
.MenuH ul li a 
{
    margin: 5px 0px 0px 0px; 
    padding: 2px 8px;
    display: inline-block;    
    *background-color: #000;
    color: #FFF;
    text-decoration: none;
    font-size: 12px;
    font-family: Arial;
}
.MenuH li a:hover 
{
    border-bottom: 3px solid #C8C8C8;    
}

/* class for site */
.BoxHeader 
{
    background-color: #3c8dbc;
    margin-top: 20px;
    padding: 15px;
    *border-radius: 10px;    
    bottom: 0px;
    color: #FFF;
}
.BoxSubHeader 
{
    background-color: #4c9dcc;
    margin-top: 20px;
    padding: 5px;
    *border-radius: 10px;    
    bottom: 0px;
    color: #FFF;
}
.BoxText 
{
    background-color: rgba(200, 200, 200, 0.50);
    padding: 20px;
    *border-radius: 10px;    
    bottom: 0px;
}
.Footer 
{
    float: left;
    margin-top: 10px;
    padding: 20px 30px 30px 30px;
    background-color: #3c8dbc;
    *border-radius: 10px;
    height: 60px;
    width: 100%;
    position: relative;
    display: inline-flex;
    font-size: 13px;
}
.Video {
  align-items: center;
  display: flex;
  margin-top: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}


/* view - image text component for site */
.view {
    margin: 10px;
    float: left;
    border: 10px solid #fff;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
    *background: #fff url(../images/bgimg.jpg) no-repeat center center
}
.view .mask, .view .content {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.view img {
    display: block;
    position: relative
}
.view h2 {
    font-family: Impact;
    color: #000;
    text-align: center;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    background: transparent;
    margin: 0 0 0 0
}
.view p {
    font-family: Arial;
    font-size: 20px;
    position: relative;
    color: #555;
    padding: 10px 20px 10px 10px;
    text-align: center
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #FFF;
    box-shadow: 0 0 1px #000
}
.view a.info:hover {
    box-shadow: 0 0 5px #000
}

.view-first img {
    transition: all 0.2s linear;
}
.view-first .mask {
    opacity: 0;
    background-color: rgba(219,127,8, 0.7);
    transition: all 0.4s ease-in-out;
}
.view-first h2 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view-first p {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.2s linear;
}
.view-first a.info{
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view-second img {
   -webkit-transition: all 0.2s ease-in;
   -moz-transition: all 0.2s ease-in;
   -o-transition: all 0.2s ease-in;
   -ms-transition: all 0.2s ease-in;
   transition: all 0.2s ease-in;
}
.view-second .mask {
   background-color: rgba(255, 255, 255, 0.80);
   width: 1000px;
   height: 1000px;
   padding: 60px;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: translate(265px, 145px) rotate(45deg);
   -moz-transform: translate(265px, 145px) rotate(45deg);
   -o-transform: translate(265px, 145px) rotate(45deg);
   -ms-transform: translate(265px, 145px) rotate(45deg);
   transform: translate(265px, 145px) rotate(45deg);
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-second h2 {
   border-bottom: 1px solid rgba(0, 0, 0, 0.3);
   background: transparent;
   margin: 20px 40px 0px 40px;
   -webkit-transform: translate(200px, -200px);
   -moz-transform: translate(200px, -200px);
   -o-transform: translate(200px, -200px);
   -ms-transform: translate(200px, -200px);
   transform: translate(200px, -200px);
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-second p {
   -webkit-transform: translate(-1000px, 200px);
   -moz-transform: translate(-1000px, 200px);
   -o-transform: translate(-1000px, 200px);
   -ms-transform: translate(-1000px, 200px);
   transform: translate(-1000px, 200px);
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-second a.info {
   -webkit-transform: translate(0px, 100px);
   -moz-transform: translate(0px, 100px);
   -o-transform: translate(0px, 100px);
   -ms-transform: translate(0px, 100px);
   transform: translate(0px, 100px);
   -webkit-transition: all 0.2s 0.1s ease-in-out;
   -moz-transition: all 0.2s 0.1s ease-in-out;
   -o-transition: all 0.2s 0.1s ease-in-out;
   -ms-transition: all 0.2s 0.1s ease-in-out;
   transition: all 0.2s 0.1s ease-in-out;
}
.view-second:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transform: translate(-80px, -125px) rotate(45deg);
   -moz-transform: translate(-80px, -125px) rotate(45deg);
   -o-transform: translate(-80px, -125px) rotate(45deg);
   -ms-transform: translate(-80px, -125px) rotate(45deg);
   transform: translate(-80px, -125px) rotate(45deg);
}
.view-second:hover h2 {
   -webkit-transform: translate(0px,0px);
   -moz-transform: translate(0px,0px);
   -o-transform: translate(0px,0px);
   -ms-transform: translate(0px,0px);
   transform: translate(0px,0px);
   -webkit-transition-delay: 0.3s;
   -moz-transition-delay: 0.3s;
   -o-transition-delay: 0.3s;
   -ms-transition-delay: 0.3s;
   transition-delay: 0.3s;
}
.view-second:hover p {
   -webkit-transform: translate(0px,0px);
   -moz-transform: translate(0px,0px);
   -o-transform: translate(0px,0px);
   -ms-transform: translate(0px,0px);
   transform: translate(0px,0px);
   -webkit-transition-delay: 0.4s;
   -moz-transition-delay: 0.4s;
   -o-transition-delay: 0.4s;
   -ms-transition-delay: 0.4s;
   transition-delay: 0.4s;
}
.view-second:hover a.info {
   -webkit-transform: translate(0px,0px);
   -moz-transform: translate(0px,0px);
   -o-transform: translate(0px,0px);
   -ms-transform: translate(0px,0px);
   transform: translate(0px,0px);
   -webkit-transition-delay: 0.5s;
   -moz-transition-delay: 0.5s;
   -o-transition-delay: 0.5s;
   -ms-transition-delay: 0.5s;
   transition-delay: 0.5s;
}
