/************************
General Styling
***********************/
a {text-decoration: none !important;}
h2 {font: 700 40px Lato, sans-serif !important; color: #304980; text-shadow: none !important;}
h3 {color: #304980; font: 700 25px Lato,sans-serif !important; text-shadow: none !important;}
.hideradio input[type="radio"], #footer-logo, .home-widgets, #upperwrap {display:none;}

.gform_wrapper ul.gfield_radio li input[type="radio"]:checked + label {border: 2px solid #ff0000; text-align: center;}

.gform_wrapper li.agf-options ul.gfield_radio li input[type="radio"]:checked + label {border: transparent; text-align: left;}

.round {width:80px; height:80px; border-radius:50px; line-height:100px; text-align:center; margin: 0 auto;}
.round.black {background-color: #000;}
.round.white {background-color: #fff; border: 2px solid #ddd;}
.round.grey {background-color: #ddd;}
.pad-top-40 {padding-top:5px;}

.ngg-galleryoverview {text-align: center !important;}
.ngg-galleryoverview br {display: none;}
.ngg-gallery-thumbnail-box {float: none !important;}

.page-id-4 .module-image .image-wrap {max-width: none !important;}
.page-id-4 .gform_wrapper {margin: 1.8em 0;}


/************************
Header
***********************/
#header {height: 195px; color: #4c4c4c !important;}
#main-nav {background: url("http://angelfishaquariums.com.au/wp-content/uploads/2015/04/menubar-bg.jpg") repeat-x scroll 0 bottom #261e1c;  bottom: 0;  width: 100%; text-align: center; background-size:100% 100%;}
#nav-bar {display: none;}
#main-nav > li {float: none !important; display: inline-block !important;}
#main-nav a {display: inline-block !important; font-weight: 400; padding: 8px 10px;}
#site-logo {top: 15px;}
#main-nav .current_page_item a, #main-nav .current-menu-item a {background: transparent !important;  color: #80bfff; box-shadow: none !important; font-weight: 900;}
#main-nav a:hover, #main-nav li:hover > a {color: #80bfff;}
#af-head-top {font-size: 18px;}
#af-head-bottom {font-size: 25px; color: #004a85; padding-top: 19px;}
.af-num {font-weight: 900;}
.af-btn {background-color: #5fb900; border-radius: 4px; color: #fff; font-size: 20px; padding: 3px 10px; text-transform: uppercase; text-align: center;}
#af-head-social {vertical-align: middle; padding: 0 20px;}
  

/************************
Footer
***********************/
#footer {padding: 0;}
#footer a {color: #4c4c4c;}
.footer-widgets .widget li {border: none; padding: 0;}
.footer-widgets a:hover {text-decoration: none; color: #80bfff;}
.footer-widgets a {color: #fff;}
.footer-text {color: #4c4c4c; font-size: 15px; padding-top: 13px;}
.footer-text .one, .footer-text .two {width: 50%; float: left;}
.footer-text .two {text-align: right;}


.footer-widgetswrap {box-shadow: none !important;  border-bottom: none !important; background: url("http://angelfishaquariums.com.au/wp-content/uploads/2015/04/footer-bg.jpg") repeat-x scroll 0 0 #261e1c !important; padding: 0; /*height: 268px;*/ padding: 0 60px; background-size: cover !important;}
.footer-widgetswrap .gform_wrapper {max-width: 77% !important;}
.af-footer-contact {color: #fff !important;}
.af-footer-contact label {margin: 0 !important; font-size: 15px;}
.af-footer-contact .ginput_container {margin-top: 0 !important;}
.af-footer-contact .gform_footer {margin-top: 0 !important; text-align: right ;}
.af-footer-contact input[type="text"], .af-footer-contact input[type="search"], .af-footer-contact input[type="email"], .af-footer-contact input[type="url"] {
  max-width: 100% !important;}
.af-footer-contact_wrapper .top_label input.large, .af-footer-contact_wrapper .top_label select.large, .af-footer-contact_wrapper .hidden_label input.large, .af-footer-contact_wrapper .hidden_label select.large {width: 100% !important;}
.af-footer-contact_wrapper input[type="submit"] {background-color: #80adff !important; border: none !important;}
.footer-widgets {color: #fff !important;}
.footer-widgets ul.menu {-webkit-column-count: 2; -moz-column-count: 2; column-count: 2;}


/************************
Home Slider
***********************/
.af-slider-home .row_inner {background-color: #004a85 !important; }
.af-slider-home .slide-image img, .image-wrap img {border: none !important; background: none !important; padding: 0 !important;}
.af-slider-home .first {width: 70%;}
.af-slider-home .last {margin-left: 0; width: 30%;}
.af-slider-home .module-text {height: /*337px*/ auto !important;}
.af-slider-home .module-slider {margin-bottom: 0;}


/************************
Body / Content Area
***********************/
#body {background: none !important;}
#content {margin: 0;}
.af-content-home {border-top: 5px dotted #8f8f8f;}
.af-testimonials {border-top: 5px dotted #8f8f8f;}
.af-testimonials .slide-content p:nth-child(1) {display: table-cell; float: left;}
.af-quick-links p {margin: 8px 0 0;}
.af-quick-links img {background: none !important; border: none !important;}
.af-img-noborder {border: none !important; background: none !important;}
.module-text h2:first-child {margin-top: 20px;}

.af-contact-page input, .af-contact-page textarea {background-color: #fff !important; border: 1px solid #a7a7a7;}
.af-contact-page input[type="submit"] {background-color: #2f4880 !important;}
.af-contact-page input[type="tel"] {border-radius: 5px !important;}
.af-contact-page input[type="text"] {max-width: 100%}
.af-contact-page .gfield_label {font-size: 16px; margin: 0 !important; font-weight: 400 !important;}
.af-contact-page .gform_footer {text-align: right !important;}
.af-contact-page_wrapper {margin-top: 0 !important;}
.af-contact-page #input_3_4 {height: 95px;}

.ngg-galleryoverview .ngg-gallery-thumbnail-box:nth-child(6n-1) {margin-right: 0;} 
.ngg-gallery-thumbnail img {background-color: transparent !important;  border: none !important;}
.ngg-gallery-thumbnail-box {margin-right: 12px !important;}



/************************
Rental Aquariums
***********************/
.af-rentaq-script {border: none !important;}
form.af-rentaq .field_sublabel_below {margin-bottom: 0; padding-bottom: 0;}
form.af-rentaq .field_description_below {border-left: 1px solid #9d9d9d; border-bottom: 1px solid #9d9d9d; border-right: 1px solid #9d9d9d;}
form.af-rentaq .field_description_below .gfield_label {font-weight: 400; font-size: 15px; text-transform: uppercase; padding: 0 20px;}
body .af-rentaq_wrapper label.gfield_label + div.ginput_container {padding: 0 20px !important;}
form.af-rentaq .field_description_below h2 {font-size: 20px !important; color: #fff; background-color: #004299; padding: 7px 16px !important;
background: #008099; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwODA5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDQyOTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -moz-linear-gradient(left,  #008099 0%, #004299 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,#008099), color-stop(100%,#004299)); background: -webkit-linear-gradient(left,  #008099 0%,#004299 100%); background: -o-linear-gradient(left,  #008099 0%,#004299 100%); background: -ms-linear-gradient(left,  #008099 0%,#004299 100%); background: linear-gradient(to right,  #008099 0%,#004299 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008099', endColorstr='#004299',GradientType=1 ); border-left: 1px solid #9d9d9d; border-top: 1px solid #9d9d9d; border-right: 1px solid #9d9d9d; }
.af-rentaq .gform_body .af-rentaq-img {position: absolute; left:0;}
.af-rentaq .gsection {border-bottom: none !important; margin-top: 0 !important;}
.af-rentaq_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {margin: 6px !important;}
.af-rentaq .gform_fields .field_description_below {background-color: #fff;}
.af-rentaq .img-val img {height: 90px;}
.af-rentaq .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {text-align: center;}
.af-rentaq .gform_footer {text-align: right !important; margin: 0 !important;}
.af-rentaq .inline-block .gfield_label, .af-rentaq .inline-block .ginput_container {display: inline;}
form.af-rentaq .field_description_below {border-bottom: none;}
.af-rentaq .border-bottom {border-bottom: 1px solid #9d9d9d !important;}
.af-rentaq select {background-color: #e6e6e6; border: 1px solid #9d9d9d; border-radius: 8px; font-size: 12px !important; margin-bottom: 10px; padding-left: 6px !important;}

#input_1_5, #input_1_20, #input_1_21, #input_5_20, #input_5_21 {display: inline;}
.gchoice_1_5_0, .gchoice_1_5_1, .gchoice_1_5_2, .gchoice_5_20_0, .gchoice_5_20_1, .gchoice_5_20_2, .gchoice_5_21_0, .gchoice_5_21_1, .gchoice_1_20_0, .gchoice_1_20_1, .gchoice_1_20_2, .gchoice_1_21_0, .gchoice_1_21_1 {width: 50px !important;}

#field_1_5 .gfield_label {margin-top: 20px !important;}
#field_1_17, #field_1_10 {text-align: right !important;}
#field_1_7, #field_1_5 {padding-top: 10px !important;}
#input_1_6 label, #field_1_7 label {font-size: 12px !important;}
#field_1_17 label, #field_1_10 label, #field_1_12 label, #field_1_13 label, #field_1_14 label, #field_1_15 {font-size: 13px !important;}
#input_1_12, #input_1_13, #input_1_14 {background-color: transparent !important; margin: 5px 0 !important; border: 1px solid #9d9d9d; border-radius: 7px;}
#input_1_14 {margin-left: 6px !important;}
#field_1_18 {color: #005399;  margin-top: 0;  padding: 10px 20px;}
#label_1_15_0, #label_1_15_1, #label_1_15_2 {margin: 0 !important; text-align: left !important;}
#choice_1_15_0, #choice_1_15_1, #choice_1_15_2 {margin: 3px 5px 0 84px !important;}
#input_1_19 {background-color: transparent !important; height: 3.375em !important; border: 1px solid #9d9d9d; border-radius: 7px; font-size: 12px; padding: 10px;}
#field_1_12 label, #field_1_13 label, #field_1_14 label {text-transform: capitalize;}
#field_1_15 {padding-bottom: 1px !important;}
#field_1_19 {padding-bottom: 20px !important;}
#field_1_19 label {margin: 0;}
.gform_wrapper .gfield_required {color: #ff0000;}
.module-tab .tab-nav li {background-color: #304980 !important; background-image: none !important;}
.module-tab .tab-nav li.current {background-color: #fff !important;}
.module-tab .tab-nav li.current a {color: #4c4c4c !important;}
.module-tab .tab-nav li a {color: #fff !important;}
#img_cont .zoomer img {height: auto;  max-width: 400px !important;}
#field_1_20 {border-bottom: transparent !important;}
/*.zoom-wrap .text_info h2:first-child, .zoom-wrap .text_info br:first-child {display: none !important;}*/


/******************** 
Zoom Styling 
********************/
.zoom-wrap {border: 1px solid #9d9d9d; margin-top: 31px; max-width: 520px !important; padding: 70px 0 30px;}
.easyzoom, .easyzoom-flyout {float: none !important;}
.easyzoom-flyout {position: absolute; z-index: 100; overflow: hidden; background: #FFF; width: 510px !important;}

/**
 * EasyZoom layout variations
 */
/*.easyzoom--overlay .easyzoom-flyout {top: 0; left: 0; width: 100%; height: 100%;}*/
.easyzoom--adjacent .easyzoom-flyout {top: -45px !important; left: -35px !important; width: 110% !important; height: 110% !important; margin-left: 0;}


/******************** 
Responsive Media Queries
********************/

/* Mobile */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  h2 {font-size: 30px !important;}
  #af-head-bottom {text-align: center;}      
  .af-slider-home .col3-1 {max-width: 100% !important;}
  .af-slider-home .last {width: 100% !important; text-align: center;}
  /*.page .module-image .image-wrap {max-width: 100%; width: 100%;}*/
  .ngg-gallery-thumbnail-box {display: inline-block; margin: 0 auto !important;}
  .af-slider-home .module-text {padding: 28px 20px 30px !important;}
  .easyzoom {max-width: 200px;}
 #input_1_5, #input_1_20, #input_1_21, #input_5_20, #input_5_21 {display: inline-block !important;}
}

@media only screen and (min-device-width : 481px) and (max-device-width : 767px) {
  #headerwrap #main-nav a {line-height: 1em; padding: 4px 5px;}
  .easyzoom {max-width: 300px;}
  .footer-widgets {font-size: 15px;}
  
}

@media only screen and (min-device-width : 601px) and (max-device-width : 767px) {
  .af-slider-home #text-2363-0-1-1 {padding: 0;}
  .af-slider-home .module-text {padding: 30px !important;}
  /*.af-slider-home .col3-1 {max-width: 38%; width: 38%; padding: 15px;}*/
  .af-slider-home .first, .af-slider-home .last {max-width: 100%; width: 100%;}
  .af-slider-home .module-text p {padding: 0 !important; margin: 0 0 0.34em;}
  .af-slider-home .af-btn {font-size: 13px;}
    .easyzoom {max-width: 300px;}

}

@media only screen and (min-device-width : 721px) and (max-device-width : 767px) {
  #main-nav a {padding: 13px 2px !important;}
    .easyzoom {max-width: 300px;}
}


/* Tablets */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
   #header {font-size: 12px;}
   #main-nav a {padding: 10px 5px;}
  .ngg-gallery-thumbnail-box {display: inline-block; margin: 0 auto !important;}
  .af-slider-home #text-2363-0-1-1 {padding: 15px; font-size: 13px; height: auto !important;}
  .af-slider-home .last {width: 38% !important;}
  .af-slider-home .col3-1 {max-width: 38% !important;}
  .af-slider-home .af-btn {font-size: 13px;}
  .af-slider-home .module-text p {margin: 0 0 0.34em; /*padding: 28px 20px 30px;*/}
  .easyzoom {max-width: 300px;}
   .footer-widgets {font-size: 15px;}
}

/* Laptops */
@media screen and (min-device-width: 1200px) { 
  .af-slider-home .row_inner {height: 337px; overflow: hidden;}
}


    /*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
  .af-rentaq .inline-block .gfield_label, .af-rentaq .inline-block .ginput_container {display: block !important;}
  
.gform_wrapper label.gfield_label {
    margin:0px  !important;
  }
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
   #af-head-bottom .af-btn {display: block; margin-bottom: 10px; margin-top: 10px;    padding: 8px 0px;}
  
  #header {font-size: 12px;}
  #main-nav a {padding: 10px 5px;}
  .themify_builder .text-2363-2-0-1.module-text {padding: 0 !important;}
  .footer-widgetswrap {padding: 0 20px; }

}

 /* Iphone 5 Landscape */
@media only screen and (max-width : 568px) {
  .ngg-gallery-thumbnail img {width: 169px;}
}

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
.module-text h2:first-child {margin-top: 10px;}
  #header {font-size: 15px;}
  #main-nav > li {float: left; display: inherit; }
  #main-nav {text-align: left;}
  #af-head-top {text-align: center;}
  #af-head-top img {padding-top: 10px;}
  .social-widget {display: none;}
  #af-head-bottom {font-size: 20px;}
  #af-head-social {padding: 0 18px;}
  .footer-widgetswrap .gform_wrapper {max-width: 100% !important;}
  .footer-widgets .menu, .footer-widgets .widget_text {font-size: 15px !important;}
  .af-slider-home .module-text {height: auto !important;}
  form.af-rentaq .field_description_below .gfield_label {font-size: 14px;}

    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
  .footer-widgets .menu, .footer-widgets .widget_text {font-size: 12px !important;}
 .af-slider-home .module-text {height: 285px !important;}


    }

.gform_body label img{
    pointer-events: none !important;
}
.gform_body label{
    display: inline-block !important;
}