/* Personal settings */

/* Padding and margin */

.npi {
  padding: 0 !important;
}
.npli {
  padding-left: 0 !important;
}
.npri {
  padding-right: 0 !important;
}
.npti {
  padding-top: 0 !important;
}
.npbi {
  padding-bottom: 0 !important;
}

.nmi {
  margin: 0 !important;
}
.nmli {
  margin-left: 0 !important;
}
.nmri {
  margin-right: 0 !important;
}
.nmti {
  margin-top: 0 !important;
}
.nmbi {
  margin-bottom: 0 !important;
}

.np {
  padding: 0;
}
.npl {
  padding-left: 0;
}
.npr {
  padding-right: 0;
}
.npt {
  padding-top: 0;
}
.npb {
  padding-bottom: 0;
}

.nm {
  margin: 0;
}
.nml {
  margin-left: 0;
}
.nmr {
  margin-right: 0;
}
.nmt {
  margin-top: 0;
}
.nmb {
  margin-bottom: 0;
}

.m-xs {
  margin: 5px;
}
.m-sm {
  margin: 10px;
}
.m-md {
  margin: 20px;
}
.m-lg {
  margin: 30px;
}
.m-t-sm {
  margin-top: 10px;
}
.m-b-sm {
  margin-bottom: 10px;
}
.m-l-sm {
  margin-left: 10px;
}
.m-r-sm {
  margin-right: 10px;
}
.m-t-md {
  margin-top: 20px;
}
.m-b-md {
  margin-bottom: 20px;
}
.m-l-md {
  margin-left: 20px;
}
.m-r-md {
  margin-right: 20px;
}
.m-t-lg {
  margin-top: 30px;
}
.m-b-lg {
  margin-bottom: 30px;
}
.m-l-lg {
  margin-left: 30px;
}
.m-r-lg {
  margin-right: 30px;
}
.p-xs {
  padding: 5px;
}
.p-sm {
  padding: 10px;
}
.p-md {
  padding: 20px;
}
.p-lg {
  padding: 30px;
}
.p-t-xs {
  padding-top: 5px;
}
.p-b-xs {
  padding-bottom: 5px;
}
.p-l-xs {
  padding-left: 5px;
}
.p-r-xs {
  padding-right: 5px;
}
.p-t-sm {
  padding-top: 10px;
}
.p-b-sm {
  padding-bottom: 10px;
}
.p-l-sm {
  padding-left: 10px;
}
.p-r-sm {
  padding-right: 10px;
}
.p-t-md {
  padding-top: 20px;
}
.p-b-md {
  padding-bottom: 20px;
}
.p-l-md {
  padding-left: 20px;
}
.p-r-md {
  padding-right: 20px;
}
.p-t-lg {
  padding-top: 30px;
}
.p-b-lg {
  padding-bottom: 30px;
}
.p-l-lg {
  padding-left: 30px;
}
.p-r-lg {
  padding-right: 30px;

}

/* Sections, headers titles and content blocks */
.section
{
  padding-bottom: 30px;
}

.section-last
{
  padding-bottom: 0;
}

.section-item
{
  padding: 20px;
}

.section-item-full
{
  padding-left: 0;
  padding-right: 0;
}

.section-item-first
{
  padding-left: 0;
}

.section-item-last
{
  padding-right: 0;

}

.section-item.first
{
  padding-top: 0;
}

.section-item.last
{
  padding-bottom: 0;
}

.section.last
{
  padding-bottom: 0;
}

#top .field-section input[type=text],
#top .field-section select
{
	width: 100%;
	margin-bottom: 10px;
}

label[for='checkbox']
{
  margin-top: -4px;
}

#top .field-section input[type=checkbox]
{
  display: block;
  float: left;
  margin-right: 5px;
}

#top .field-section div.field-section-item-first,
#top .field-section div.field-section-item-last
{
	float: left;
	width: 100%;
	max-width: 200px;
}

.field-section-item-first
{
	padding-right: 5px;
}

.field-section-item-last
{
	padding-left: 5px;
}

.field-section.input-big div, .field-section.input-big input{ max-width: 400px; }
.field-section.input-small div,.field-section.input-small input { max-width: 270px; }

@media (max-width: 480px)
{
	#top .field-section div.field-section-item-first,
	#top .field-section div.field-section-item-last
	{
		width: 50%;
	}
}

.only-visible-lg,
.only-visible-md,
.only-visible-sm
{
  display: none;
}

@media (max-width:1200px) 
{
  .only-visible-lg
  {
    display: block;
  }
  .section-item-lg
  {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-item-lg.section-item-first
  {
    padding: 0;
    padding-top: 10px;
  }

  .section-item-lg.section-item-last
  {
    padding: 0;
    padding-bottom: 10px;
  }
}

@media (max-width:992px) 
{
  .only-visible-md
  {
    display: block;
  }

  .section-item-md
  {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-item-md.section-item-first
  {
    padding: 0;
    padding-top: 10px;
  }

  .section-item-md.section-item-last
  {
    padding: 0;
    padding-bottom: 10px;
  }
}

@media (max-width:768px) 
{
  .only-visible-md
  {
    display: block;
  }

  .section-item-sm
  {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-item-sm.section-item-first
  {
    padding: 0;
    padding-top: 10px;
  }

  .section-item-sm.section-item-last
  {
    padding: 0;
    padding-bottom: 10px;
  }
}

.section-title
{
  margin-top: 20px;
  padding-bottom: 10px;
}

.section-title-first
{
  margin-top: 0;
}

.section-content
{
  padding-left: 5px;
}

/* Font styles */
.cursive {
  font-style: italic; 
}

span.required,
.error,
.not-valid
{
  color: red !important;
  border-color: red;
}

label.input-required::after
{
  content: '*';
  color: red;
}

#top .field-section label.small
{
  font-size: 85%;
}

label.subtitle
{
  margin-top: 0 !important;
}

label.ellipsis
{
  display: inline-block;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
  margin-bottom: -6px;
}

label.big
{
  font-size: 11pt !important;
  margin-bottom: 0px;
  margin-top: 5px;
}

/* Borders */
.border {
  border: 1px solid black;
}
.border-sm {
  border: 2px solid black;
}
.border-md {
  border: 3px solid black;
}
.border-lg {
  border: 4px solid black;
}
.border-t-xs {
  border-top: 1px solid black; 
}
.border-b-xs {
  border-bottom: 1px solid black; 
}
.border-l-xs {
  border-left: 1px solid black; 
}
.border-r-xs {
  border-right: 1px solid black; 
}
.border-t-sm {
  border-top: 2px solid black; 
}
.border-b-sm {
  border-bottom: 2px solid black; 
}
.border-l-sm {
  border-left: 2px solid black; 
}
.border-r-sm {
  border-right: 2px solid black; 
}
.border-t-md {
  border-top: 3px solid black; 
}
.border-b-md {
  border-bottom: 3px solid black; 
}
.border-l-md {
  border-left: 3px solid black; 
}
.border-r-md {
  border-right: 3px solid black; 
}
.border-t-lg {
  border-top: 4px solid black; 
}
.border-b-lg {
  border-bottom: 4px solid black; 
}
.border-l-lg {
  border-left: 4px solid black; 
}
.border-r-lg  {
  border-right: 4px solid black; 
}

.border-invisible
{
  border: 1px solid transparent;
}

/* Align & scrolling */
.tcenter {
  text-align: center;
}
.tleft {
  text-align: left;
}
.tright {
  text-align: right;
}

.fleft {
  float: left;
}
.fright {
  float: right;
}
.fcenter {
  margin: 0 auto;
}

.no-scroll
{
  overflow: hidden;
}

@media only screen and (max-width: 760px),
{
  .data-table td {
    display: block;
    width: 100% !important;
    border: none;
  }

  .data-table table, tr, td
  {
    border: none !important;
    
  }

  .data-table thead
  {
    display: none;
  }
}

.data-table th
{
  border-top: 1px solid #e1e1e1;
}

.data-table tr > td:first-of-type, .data-table tr > th:first-of-type
{
  border-left: 1px solid #e1e1e1;
}

.data:hover
{
  background-color: #eee !important;
  cursor: pointer;
}

/* WP buttons */

.avia-button:hover
{
  cursor: pointer;
}

.avia-button
{
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.avia-button.full-width
{
  width: 100%;
}

.avia-size-large
{
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.avia-button h1, .avia-button h2, .avia-button h3, .avia-button h4, .avia-button h5, .avia-button h6
{
  color: white;
}

/* Tables */
.td-2 th,
.td-2 td
{
  width: 50%;
}

.td-3 th,
.td-3 td
{
  width: 33.333333%;
}

.td-4 th,
.td-4 td
{
  width: 25%;
}

.td-5 th,
.td-5 td
{
  width: 20%;
}

/* Extra Options */

#breadcrumbtrail.container
{
  padding-top: 30px;
  padding-bottom: 30px;
}

#breadcrumbtrail h4 a
{
  color: #109bc5;
}

#breadcrumbtrail h4 a:hover
{
  text-decoration: underline;
}

@media (min-width: 768px)
{
  .container
  {
    padding: 30px;
  }
}

textarea
{
  resize: none;
}

* {
  box-sizing: border-box;
}


#top input[type=time]
{
   -webkit-appearance: none;
    border: 1px solid #e1e1e1;
    padding: 8px 6px;
    outline: none;
    font: 1em "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #777;
    margin: 0;
    width: 100%;
    display: block;
    margin-bottom: 20px;
    background: #f8f8f8;
    border-radius: 0px;
    height: 33px;
}

#top input[type=time]:focus
{
  box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.2);
  color: #555;
}

@media screen and (max-width: 550px)
{
  .avia-button.responsive
  {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  input:not(.no-full-width)
  {
    width: 100% !important;
  }
}



#btn-to-top
{
  opacity: 0.8;
  position: fixed;
  bottom: 50px;
  right: 50px;
  cursor: pointer;
  display: none;
  background: transparent;
  color: #fff;
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 18px;
  z-index: 99;
  transition: background .3s ease-in-out;
}

#btn-to-top:hover
{
  background: #109bc5; /* avia theme color */
}

input.empty
{
  border: 1px solid #f77 !important;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-style: italic;
  color: #646464;
}

::-moz-placeholder { /* Firefox 19+ */
  font-style: italic;
  color: #646464;
}

:-ms-input-placeholder { /* IE 10+ */
  font-style: italic;
  color: #646464;
}

:-moz-placeholder { /* Firefox 18- */
  font-style: italic;
  color: #646464;
}

.inner_tooltip label
{
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 767px)
{
  .sub-menu
  {
    margin-left: -200px !important;
    width: 300px !important;
  }  
}

#user
{
  background-color: #f8f8f8;
}

#user h4
{
  padding-bottom: 5px;
}

#user .user-icon h1
{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  width: 70px;
  height: 70px;
  padding-top: 16px;
  color: white;
  background-color: #edae44;
  border-radius: 50%;
}

.sub-menu li:first-of-type span.block
{
  min-height: 100px;
}

#loginForm fieldset
{
  height: auto;
  margin-bottom: 0px;
}

#main footer .container, #main .container,
.html_header_sticky.html_large #header_main .container
{
  width: 100%;
  max-width: 1310px;
}

.information
{
  margin-top: 10px;
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  padding: 5px;
  float: left;
  background-color: #f6f3ed;
  width: 100%;
}

.information p
{
  margin: 0;
}

.html_header_sticky.html_large #header_main .container
{
  padding: 0px 30px;
}

.ns  /* no select */
{
  -webkit-user-select: none; /* webkit (safari, chrome) browsers */
  -moz-user-select: none; /* mozilla browsers */
  -khtml-user-select: none; /* webkit (konqueror) browsers */
  -ms-user-select: none; /* IE10+ */
}

.splitter
{
  margin-top: 30px;
  margin-bottom: 30px;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover
{
    opacity: 0.4;
    cursor: not-allowed;
}

.main_color .datepicker,
.main_color .datepicker table thead,
.main_color .datepicker table tbody,
.main_color .datepicker table tbody tr,
.main_color .datepicker table tbody tr:nth-child(odd),
.main_color .datepicker table tbody tr:nth-child(even),
.main_color .datepicker table tbody tr td,
.main_color .datepicker table tbody tr td.disabled,
.main_color .datepicker table tbody tr td:nth-child(odd),
.main_color .datepicker table tbody tr td:nth-child(even)
.main_color .datepicker .datepicker-days table tr:nth-child(odd),
{
  background-color: white !important;
  border: 0px !important;
}

.main_color .bootstrap-datetimepicker-widget,
.main_color .bootstrap-datetimepicker-widget table,
.main_color .bootstrap-datetimepicker-widget table thead,
.main_color .bootstrap-datetimepicker-widget table thead td,
.main_color .bootstrap-datetimepicker-widget table thead td a
.main_color .bootstrap-datetimepicker-widget table thead tr,
.main_color .bootstrap-datetimepicker-widget table thead tr th,
.main_color .bootstrap-datetimepicker-widget table thead tr th a
.main_color .bootstrap-datetimepicker-widget table tbody,
.main_color .bootstrap-datetimepicker-widget table tbody td,
.main_color .bootstrap-datetimepicker-widget table tbody td a
{
    background-color: white !important;
    border: none !important;
}